@xuda.io/drive_module 1.1.1244 → 1.1.1246
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 +9 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -669,6 +669,15 @@ export const create_drive_folder = async (req, job_id, headers) => {
|
|
|
669
669
|
reserve,
|
|
670
670
|
};
|
|
671
671
|
|
|
672
|
+
let check_req = {
|
|
673
|
+
app_id,
|
|
674
|
+
uid,
|
|
675
|
+
drive_type,
|
|
676
|
+
file_path: doc.file_path,
|
|
677
|
+
type: 'folder',
|
|
678
|
+
};
|
|
679
|
+
const check_existing_file_ret = await check_drive_file(check_req);
|
|
680
|
+
|
|
672
681
|
switch (drive_type) {
|
|
673
682
|
case 'studio': {
|
|
674
683
|
folder_id = req.folder_name;
|