@xuda.io/drive_module 1.1.1250 → 1.1.1252
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 +5 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -679,6 +679,11 @@ export const create_drive_folder = async (req, job_id, headers) => {
|
|
|
679
679
|
};
|
|
680
680
|
const check_existing_file_ret = await check_drive_file(check_req);
|
|
681
681
|
|
|
682
|
+
if (check_existing_file_ret.code < 0) {
|
|
683
|
+
throw new Error(check_existing_file_ret.data);
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
debugger;
|
|
682
687
|
switch (drive_type) {
|
|
683
688
|
case 'studio': {
|
|
684
689
|
folder_id = req.folder_name;
|