@xuda.io/drive_module 1.1.1442 → 1.1.1444

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.
Files changed (2) hide show
  1. package/index.mjs +1 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -685,7 +685,6 @@ export const delete_drive_files = async (req, job_id, headers) => {
685
685
 
686
686
  export const update_drive_file = async (req, job_id, headers, file_obj) => {
687
687
  try {
688
- debugger;
689
688
  const { drive_type, app_id, file_path, uid } = req;
690
689
  validate_drive_type(drive_type);
691
690
 
@@ -1879,7 +1878,7 @@ const get_drive_doc = async (type, drive_type, app_id, uid, file_path, headers)
1879
1878
  };
1880
1879
  const check_existing_file_ret = await check_drive_file(check_req);
1881
1880
 
1882
- if (!check_existing_file_ret?.duplicates) {
1881
+ if (!check_existing_file_ret?.duplicates && drive_type !== 'studio') {
1883
1882
  throw new Error(`${file_path} document not found`);
1884
1883
  }
1885
1884
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1442",
3
+ "version": "1.1.1444",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {