@xuda.io/drive_module 1.1.1433 → 1.1.1435
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 +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -575,6 +575,7 @@ const get_folder_files = async function (uid, app_id, drive_type, path) {
|
|
|
575
575
|
// };
|
|
576
576
|
|
|
577
577
|
export const delete_drive_files = async (req, job_id, headers) => {
|
|
578
|
+
let ret = [];
|
|
578
579
|
try {
|
|
579
580
|
const { drive_type, app_id, files_arr, uid } = req;
|
|
580
581
|
validate_drive_type(drive_type);
|
|
@@ -683,7 +684,7 @@ export const delete_drive_files = async (req, job_id, headers) => {
|
|
|
683
684
|
|
|
684
685
|
return {
|
|
685
686
|
code: 200,
|
|
686
|
-
data:
|
|
687
|
+
data: ret,
|
|
687
688
|
};
|
|
688
689
|
} catch (err) {
|
|
689
690
|
return { code: -1, data: err.message };
|