@xuda.io/drive_module 1.1.1004 → 1.1.1006
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.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -818,8 +818,9 @@ exports.delete_drive_files = async function (req, job_id, headers) {
|
|
|
818
818
|
const target_dir = path.join(
|
|
819
819
|
_conf[`studio_drive_path`],
|
|
820
820
|
app_id_reference,
|
|
821
|
-
|
|
821
|
+
file.file_path
|
|
822
822
|
);
|
|
823
|
+
console.log("target_dir", target_dir);
|
|
823
824
|
const ret = rimraf.sync(target_dir); // delete the file
|
|
824
825
|
|
|
825
826
|
if (doc.type === "file") {
|