@xuda.io/drive_module 1.1.1177 → 1.1.1179

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  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),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1177",
3
+ "version": "1.1.1179",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {