fix for import issue

This commit is contained in:
azivner 2018-09-10 23:41:11 +02:00
parent eb84cfbef2
commit 15610626f1

View file

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