mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix for import issue
This commit is contained in:
parent
eb84cfbef2
commit
15610626f1
@ -15,7 +15,7 @@ async function importToBranch(req) {
|
|||||||
const parentNoteId = req.params.parentNoteId;
|
const parentNoteId = req.params.parentNoteId;
|
||||||
const file = req.file;
|
const file = req.file;
|
||||||
|
|
||||||
if (file) {
|
if (!file) {
|
||||||
return [400, "No file has been uploaded"];
|
return [400, "No file has been uploaded"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user