@xuda.io/drive_module 1.1.1044 → 1.1.1046
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 +5 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -190,7 +190,7 @@ exports.get_drive_files = async function (req) {
|
|
|
190
190
|
else return (bytes / 1073741824).toFixed(2) + " GB";
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
const
|
|
193
|
+
const fetch_drive_files = async function (
|
|
194
194
|
ret,
|
|
195
195
|
file_doc,
|
|
196
196
|
app_id_reference,
|
|
@@ -274,12 +274,12 @@ exports.get_drive_files = async function (req) {
|
|
|
274
274
|
|
|
275
275
|
return {
|
|
276
276
|
code: 1,
|
|
277
|
-
data: await
|
|
277
|
+
data: await fetch_drive_files(
|
|
278
278
|
ret,
|
|
279
279
|
file_doc,
|
|
280
280
|
app_id_reference,
|
|
281
281
|
null,
|
|
282
|
-
app_obj.
|
|
282
|
+
app_obj.app_datacenter_id
|
|
283
283
|
),
|
|
284
284
|
};
|
|
285
285
|
};
|
|
@@ -289,7 +289,7 @@ exports.get_drive_files = async function (req) {
|
|
|
289
289
|
|
|
290
290
|
return {
|
|
291
291
|
code: 1,
|
|
292
|
-
data: await
|
|
292
|
+
data: await fetch_drive_files(ret, file_doc, null, uid),
|
|
293
293
|
};
|
|
294
294
|
};
|
|
295
295
|
const get_studio_files = async function () {
|
|
@@ -305,7 +305,7 @@ exports.get_drive_files = async function (req) {
|
|
|
305
305
|
|
|
306
306
|
return {
|
|
307
307
|
code: 1,
|
|
308
|
-
data: await
|
|
308
|
+
data: await fetch_drive_files(ret, file_doc, app_id_reference, null),
|
|
309
309
|
};
|
|
310
310
|
}
|
|
311
311
|
|