@xuda.io/drive_module 1.1.1436 → 1.1.1437
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 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -629,7 +629,7 @@ export const delete_drive_files = async (req, job_id, headers) => {
|
|
|
629
629
|
switch (drive_type) {
|
|
630
630
|
case 'studio': {
|
|
631
631
|
const app_id_reference = await _common.get_project_app_id(app_id);
|
|
632
|
-
const target_dir = path.join(_conf[`studio_drive_path`], app_id_reference, originalname);
|
|
632
|
+
const target_dir = path.join(_conf[`studio_drive_path`], app_id_reference, doc.originalname);
|
|
633
633
|
|
|
634
634
|
rimraf.sync(target_dir);
|
|
635
635
|
|