@xuda.io/drive_module 1.1.1176 → 1.1.1178
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 +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -275,7 +275,7 @@ exports.get_drive_files = async function (req) {
|
|
|
275
275
|
const get_user_files = async function () {
|
|
276
276
|
opt.selector.docType = 'user_drive';
|
|
277
277
|
opt.selector.uid = uid;
|
|
278
|
-
|
|
278
|
+
const file_doc = await db_module.get_couch_doc('xuda_drive', path.basename(req.path) || '/');
|
|
279
279
|
return {
|
|
280
280
|
code: 1,
|
|
281
281
|
data: await fetch_drive_files(ret, file_doc, null, uid),
|
|
@@ -2132,7 +2132,7 @@ setTimeout(async function () {
|
|
|
2132
2132
|
// })
|
|
2133
2133
|
// );
|
|
2134
2134
|
// module.exports.run_drive_pending_ocr();
|
|
2135
|
-
fix_date_modified();
|
|
2135
|
+
// fix_date_modified();
|
|
2136
2136
|
}, 2000);
|
|
2137
2137
|
|
|
2138
2138
|
const fix_date_modified = async function () {
|