@xuda.io/drive_module 1.1.480 → 1.1.482

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 +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -125,6 +125,7 @@ exports.get_drive_files = async function (req) {
125
125
  drive_type,
126
126
  app_id_reference
127
127
  );
128
+ files.size += sizeInBytes;
128
129
  files.children.push({
129
130
  sizeInBytes,
130
131
  size: formatBytes(sizeInBytes),
@@ -501,7 +502,7 @@ exports.delete_drive_files = async function (req) {
501
502
  const docs = await get_folder_docs(
502
503
  path.basename(file.path),
503
504
  drive_type,
504
- null
505
+ app_id_master
505
506
  );
506
507
  for await (let doc of docs) {
507
508
  doc._deleted = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.480",
3
+ "version": "1.1.482",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {