@xuda.io/drive_module 1.1.652 → 1.1.654

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
@@ -2371,7 +2371,7 @@ exports.update_drive_file_tags = async function (req) {
2371
2371
  if (doc_ret.code > -1) {
2372
2372
  var doc = doc_ret.data;
2373
2373
  doc.date_modified = Date.now();
2374
- doc.originalname = file_name_to;
2374
+ doc.tags = tags;
2375
2375
  let save_ret;
2376
2376
 
2377
2377
  switch (drive_type) {
@@ -2395,7 +2395,7 @@ exports.update_drive_file_tags = async function (req) {
2395
2395
  }
2396
2396
  return {
2397
2397
  code: 200,
2398
- data: file_name_to,
2398
+ data: tags,
2399
2399
  };
2400
2400
  } catch (err) {
2401
2401
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.652",
3
+ "version": "1.1.654",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {