@xuda.io/drive_module 1.1.1396 → 1.1.1397
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1066,7 +1066,7 @@ export const delete_file_bulk = async (req) => {
|
|
|
1066
1066
|
return { code: 1, data: req.server_files };
|
|
1067
1067
|
};
|
|
1068
1068
|
|
|
1069
|
-
export const upload_drive_file = async (req, job_id, headers, file_obj) => {
|
|
1069
|
+
export const upload_drive_file = async (req, job_id, headers = {}, file_obj) => {
|
|
1070
1070
|
try {
|
|
1071
1071
|
const { drive_type, app_id, uid, make_public, tags = '', is_system, path: file_path } = req;
|
|
1072
1072
|
|