mirror of
https://github.com/zadam/trilium.git
synced 2025-01-01 04:41:46 +08:00
fix for import issue
This commit is contained in:
parent
eb84cfbef2
commit
15610626f1
1 changed files with 1 additions and 1 deletions
|
@ -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"];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue