@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.
- package/index.js +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
|
-
!
|
|
2678
|
-
!
|
|
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
|
}
|