@xuda.io/drive_module 1.1.467 → 1.1.468
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 +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -476,7 +476,7 @@ exports.delete_drive_files = async function (req) {
|
|
|
476
476
|
data: "error - files_arr must be Array",
|
|
477
477
|
};
|
|
478
478
|
}
|
|
479
|
-
if (drive_type === "workspace") {
|
|
479
|
+
if (drive_type === "workspace" && type === "file") {
|
|
480
480
|
const app_id_reference = await _common.get_project_app_id(app_id);
|
|
481
481
|
req.files_arr.forEach(function (file) {
|
|
482
482
|
if (!file.path.includes(app_id_reference)) {
|