@xuda.io/drive_module 1.1.467 → 1.1.469
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 +8 -8
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -476,14 +476,14 @@ 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") {
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
}
|
|
479
|
+
// if (drive_type === "workspace" && type === "file") {
|
|
480
|
+
// const app_id_reference = await _common.get_project_app_id(app_id);
|
|
481
|
+
// req.files_arr.forEach(function (file) {
|
|
482
|
+
// if (!file.path.includes(app_id_reference)) {
|
|
483
|
+
// throw new Error("error - file path unauthorized");
|
|
484
|
+
// }
|
|
485
|
+
// });
|
|
486
|
+
// }
|
|
487
487
|
|
|
488
488
|
let doc_ret;
|
|
489
489
|
for await (const file of files_arr) {
|