@xuda.io/drive_module 1.1.612 → 1.1.613

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.
Files changed (2) hide show
  1. package/index.js +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1380,7 +1380,10 @@ exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
1380
1380
  const tempPath = file_obj.path;
1381
1381
 
1382
1382
  const { code: check_code, data: check_data } =
1383
- await module.exports.check_drive_file({ file_name: originalname });
1383
+ await module.exports.check_drive_file({
1384
+ file_name: originalname,
1385
+ file_path,
1386
+ });
1384
1387
 
1385
1388
  if (
1386
1389
  ![..._conf.allowedExts_drive, ..._conf.archive_drive_ext].includes(ext)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.612",
3
+ "version": "1.1.613",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {