@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.
Files changed (2) hide show
  1. package/index.mjs +1 -1
  2. 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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1396",
3
+ "version": "1.1.1397",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {