@xuda.io/drive_module 1.1.742 → 1.1.744
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 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2006,9 +2006,11 @@ exports.search_drive_files = async function (req) {
|
|
|
2006
2006
|
"mime",
|
|
2007
2007
|
"size",
|
|
2008
2008
|
],
|
|
2009
|
-
sort: { [sort_by]: sort_dir },
|
|
2009
|
+
sort: [{ [sort_by]: sort_dir }],
|
|
2010
2010
|
};
|
|
2011
2011
|
|
|
2012
|
+
console.log("opt", opt);
|
|
2013
|
+
|
|
2012
2014
|
const alias_results = (docs) => {
|
|
2013
2015
|
return docs.map((doc) => {
|
|
2014
2016
|
return {
|