markdown wiki reference on README

This commit is contained in:
azivner
2018-09-03 21:06:24 +02:00
parent 185fb4b787
commit bc669c7b81
4 changed files with 9 additions and 1 deletions

View File

@@ -15,6 +15,10 @@ async function importToBranch(req) {
const parentNoteId = req.params.parentNoteId;
const file = req.file;
if (file) {
return [400, "No file has been uploaded"];
}
const parentNote = await repository.getNote(parentNoteId);
if (!parentNote) {