@xuda.io/drive_module 1.1.901 → 1.1.902

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.js +8 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -182,7 +182,12 @@ exports.get_drive_files = async function (req) {
182
182
  else return (bytes / 1073741824).toFixed(2) + " GB";
183
183
  }
184
184
 
185
- const get_drive_files = async function (ret, file_doc) {
185
+ const get_drive_files = async function (
186
+ ret,
187
+ file_doc,
188
+ app_id_reference,
189
+ uid
190
+ ) {
186
191
  let files = {
187
192
  path: req.path || "/",
188
193
  name: file_doc.data.folder_name || "/",
@@ -217,7 +222,8 @@ exports.get_drive_files = async function (req) {
217
222
  const sizeInBytes = await get_folder_size(
218
223
  req.path,
219
224
  drive_type,
220
- app_id_reference
225
+ app_id_reference,
226
+ uid
221
227
  );
222
228
  files.sizeInBytes += sizeInBytes;
223
229
  files.children.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.901",
3
+ "version": "1.1.902",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {