@xuda.io/drive_module 1.1.696 → 1.1.697

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 +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2401,11 +2401,11 @@ exports.update_drive_file_tags = async function (req, job_id, headers) {
2401
2401
  doc.date_modified = Date.now();
2402
2402
  } else {
2403
2403
  if (drive_type === "studio") {
2404
- const ext = path.extname(file_name_id).toLowerCase();
2404
+ const ext = path.extname(file_name).toLowerCase();
2405
2405
  doc = {
2406
2406
  docType: `${drive_type}_drive`,
2407
2407
  stat: 3,
2408
- originalname: file_name_id,
2408
+ originalname: file_name,
2409
2409
  uid,
2410
2410
  type: "file",
2411
2411
  date_created: Date.now(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.696",
3
+ "version": "1.1.697",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {