@xuda.io/drive_module 1.1.608 → 1.1.609
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
|
@@ -1379,6 +1379,8 @@ exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
|
|
|
1379
1379
|
const originalname = path.basename(file_obj.originalname);
|
|
1380
1380
|
const tempPath = file_obj.path;
|
|
1381
1381
|
|
|
1382
|
+
const { code, data } = module.exports.check_drive_file({});
|
|
1383
|
+
|
|
1382
1384
|
if (
|
|
1383
1385
|
![..._conf.allowedExts_drive, ..._conf.archive_drive_ext].includes(ext)
|
|
1384
1386
|
) {
|