@xuda.io/drive_module 1.1.1426 → 1.1.1427
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 -7
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -630,14 +630,8 @@ export const delete_drive_files = async (req, job_id, headers) => {
|
|
|
630
630
|
case 'studio': {
|
|
631
631
|
const app_id_reference = await _common.get_project_app_id(app_id);
|
|
632
632
|
const target_dir = path.join(_conf[`studio_drive_path`], app_id_reference, file.file_path);
|
|
633
|
-
console.log('target_dir', target_dir);
|
|
634
|
-
rimraf.sync(target_dir);
|
|
635
633
|
|
|
636
|
-
|
|
637
|
-
doc.ts = Date.now();
|
|
638
|
-
doc.stat = 4;
|
|
639
|
-
save_ret = await db_module.save_app_couch_doc(app_id_reference, doc);
|
|
640
|
-
}
|
|
634
|
+
rimraf.sync(target_dir);
|
|
641
635
|
|
|
642
636
|
misc_msa.rsync_drive_resources_to_remote_servers('studio', app_id_reference);
|
|
643
637
|
break;
|