@xuda.io/drive_module 1.1.893 → 1.1.895
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 +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -184,7 +184,7 @@ exports.get_drive_files = async function (req) {
|
|
|
184
184
|
|
|
185
185
|
const get_workspace_files = async function () {
|
|
186
186
|
const app_id_reference = await _common.get_project_app_id(app_id);
|
|
187
|
-
opt.selector = "workspace_drive";
|
|
187
|
+
opt.selector.docType = "workspace_drive";
|
|
188
188
|
|
|
189
189
|
// var opt = {
|
|
190
190
|
// selector: {
|
|
@@ -266,8 +266,8 @@ exports.get_drive_files = async function (req) {
|
|
|
266
266
|
return { code: 1, data: files };
|
|
267
267
|
};
|
|
268
268
|
const get_user_files = async function () {
|
|
269
|
-
opt.selector = "user_drive";
|
|
270
|
-
opt.uid = uid;
|
|
269
|
+
opt.selector.docType = "user_drive";
|
|
270
|
+
opt.selector.uid = uid;
|
|
271
271
|
// var opt = {
|
|
272
272
|
// selector: {
|
|
273
273
|
// docType: "user_drive",
|