@xuda.io/drive_module 1.1.819 → 1.1.820

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
@@ -2674,8 +2674,8 @@ const get_drive_doc = async function (
2674
2674
 
2675
2675
  if (
2676
2676
  doc_ret?.data?.type === "file" &&
2677
- !file_path.includes(app_id) &&
2678
- !file_path.includes(app_id_master)
2677
+ !oc_ret?.data?._id.includes(app_id) &&
2678
+ !oc_ret?.data?._id.includes(app_id_master)
2679
2679
  ) {
2680
2680
  throw new Error("file_path unauthorized");
2681
2681
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.819",
3
+ "version": "1.1.820",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {