@xuda.io/drive_module 1.1.813 → 1.1.814

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 +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1798,7 +1798,7 @@ exports.check_drive_file = async function (req, job_id, headers, file_obj) {
1798
1798
  selector: {
1799
1799
  docType: "workspace_drive",
1800
1800
  originalname: path.basename(file_path),
1801
- file_path:path.dirname(file_path);,
1801
+ file_path: path.dirname(file_path),
1802
1802
  stat: 3,
1803
1803
  },
1804
1804
  limit: 99,
@@ -1818,8 +1818,8 @@ exports.check_drive_file = async function (req, job_id, headers, file_obj) {
1818
1818
  const user_drive_res = await db_module.find_couch_query("xuda_drive", {
1819
1819
  selector: {
1820
1820
  docType: "user_drive",
1821
- originalname: file_name,
1822
- file_path,
1821
+ originalname: path.basename(file_path),
1822
+ file_path: path.dirname(file_path),
1823
1823
  uid,
1824
1824
  stat: 3,
1825
1825
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.813",
3
+ "version": "1.1.814",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {