@xuda.io/drive_module 1.1.1283 → 1.1.1284
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 +3 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -699,10 +699,9 @@ export const create_drive_folder = async (req, job_id, headers) => {
|
|
|
699
699
|
data: 'error - file path unauthorized',
|
|
700
700
|
};
|
|
701
701
|
}
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
}
|
|
702
|
+
|
|
703
|
+
target_dir = path.join(file_path, folder_id);
|
|
704
|
+
|
|
706
705
|
folder_exist = await file_exists(target_dir);
|
|
707
706
|
if (folder_exist) {
|
|
708
707
|
throw new Error('folder exist');
|