mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
fix for import issue
This commit is contained in:
@@ -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"];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user