@xuda.io/drive_module 1.1.900 → 1.1.901
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 +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -261,10 +261,10 @@ exports.get_drive_files = async function (req) {
|
|
|
261
261
|
|
|
262
262
|
const ret = await db_module.find_app_couch_query(app_id, opt);
|
|
263
263
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
264
|
+
const file_doc = await db_module.get_app_couch_doc(
|
|
265
|
+
app_id,
|
|
266
|
+
path.basename(req.path) || "/"
|
|
267
|
+
);
|
|
268
268
|
// // console.log(file_doc);
|
|
269
269
|
|
|
270
270
|
// let files = {
|