@xuda.io/drive_module 1.1.1243 → 1.1.1244

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 +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -645,7 +645,7 @@ export const update_drive_file = async (req, job_id, headers, file_obj) => {
645
645
 
646
646
  export const create_drive_folder = async (req, job_id, headers) => {
647
647
  try {
648
- const { drive_type, app_id, folder_name, uid } = req;
648
+ const { drive_type, app_id, folder_name, uid, reserve } = req;
649
649
  validate_drive_type(drive_type);
650
650
 
651
651
  let folder_id;
@@ -666,6 +666,7 @@ export const create_drive_folder = async (req, job_id, headers) => {
666
666
  is_folder: true,
667
667
  type: 'directory',
668
668
  file_path: req.path,
669
+ reserve,
669
670
  };
670
671
 
671
672
  switch (drive_type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1243",
3
+ "version": "1.1.1244",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {