@xuda.io/drive_module 1.1.892 → 1.1.893
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 +6 -6
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -197,9 +197,9 @@ exports.get_drive_files = async function (req) {
|
|
|
197
197
|
// skip: from,
|
|
198
198
|
// };
|
|
199
199
|
|
|
200
|
-
if (date) {
|
|
201
|
-
|
|
202
|
-
}
|
|
200
|
+
// if (date) {
|
|
201
|
+
// opt.sort = [{ date_created: "desc" }];
|
|
202
|
+
// }
|
|
203
203
|
|
|
204
204
|
const ret = await db_module.find_app_couch_query(app_id, opt);
|
|
205
205
|
|
|
@@ -280,9 +280,9 @@ exports.get_drive_files = async function (req) {
|
|
|
280
280
|
// skip: from,
|
|
281
281
|
// };
|
|
282
282
|
|
|
283
|
-
if (date) {
|
|
284
|
-
|
|
285
|
-
}
|
|
283
|
+
// if (date) {
|
|
284
|
+
// opt.sort = [{ date_created: "desc" }];
|
|
285
|
+
// }
|
|
286
286
|
|
|
287
287
|
const ret = await db_module.find_couch_query("xuda_drive", opt);
|
|
288
288
|
const file_doc = await db_module.get_couch_doc(
|