@xuda.io/drive_module 1.1.1442 → 1.1.1443
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.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1879,7 +1879,7 @@ const get_drive_doc = async (type, drive_type, app_id, uid, file_path, headers)
|
|
|
1879
1879
|
};
|
|
1880
1880
|
const check_existing_file_ret = await check_drive_file(check_req);
|
|
1881
1881
|
|
|
1882
|
-
if (!check_existing_file_ret?.duplicates) {
|
|
1882
|
+
if (!check_existing_file_ret?.duplicates && drive_type !== 'studio') {
|
|
1883
1883
|
throw new Error(`${file_path} document not found`);
|
|
1884
1884
|
}
|
|
1885
1885
|
|