@xuda.io/drive_module 1.1.1441 → 1.1.1442
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
|
@@ -685,6 +685,7 @@ export const delete_drive_files = async (req, job_id, headers) => {
|
|
|
685
685
|
|
|
686
686
|
export const update_drive_file = async (req, job_id, headers, file_obj) => {
|
|
687
687
|
try {
|
|
688
|
+
debugger;
|
|
688
689
|
const { drive_type, app_id, file_path, uid } = req;
|
|
689
690
|
validate_drive_type(drive_type);
|
|
690
691
|
|
|
@@ -1186,7 +1187,7 @@ export const delete_file_bulk = async (req) => {
|
|
|
1186
1187
|
export const upload_drive_file = async (req, job_id, headers = {}, file_obj) => {
|
|
1187
1188
|
try {
|
|
1188
1189
|
const { drive_type, app_id, uid, make_public, tags = '', is_system, path: file_path } = req;
|
|
1189
|
-
|
|
1190
|
+
|
|
1190
1191
|
/// validations
|
|
1191
1192
|
validate_drive_type(drive_type);
|
|
1192
1193
|
if (!file_obj?.['originalname']) {
|