@xuda.io/drive_module 1.1.657 → 1.1.658
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2386,6 +2386,8 @@ exports.update_drive_file_tags = async function (req) {
|
|
|
2386
2386
|
is_archive: _conf.archive_drive_ext.includes(ext) ? true : false,
|
|
2387
2387
|
drive_type,
|
|
2388
2388
|
};
|
|
2389
|
+
} else {
|
|
2390
|
+
throw new Error("file not found");
|
|
2389
2391
|
}
|
|
2390
2392
|
}
|
|
2391
2393
|
doc.date_modified = Date.now();
|