@xuda.io/drive_module 1.1.481 → 1.1.483
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.js +2 -1
- 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),
|
|
@@ -198,7 +199,7 @@ exports.get_drive_files = async function (req) {
|
|
|
198
199
|
drive_type,
|
|
199
200
|
null
|
|
200
201
|
);
|
|
201
|
-
|
|
202
|
+
files.size += sizeInBytes;
|
|
202
203
|
files.children.push({
|
|
203
204
|
sizeInBytes,
|
|
204
205
|
size: formatBytes(sizeInBytes),
|