@xuda.io/drive_module 1.1.1181 → 1.1.1182

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
@@ -196,7 +196,7 @@ exports.get_drive_files = async function (req) {
196
196
  const fetch_drive_files = async function (ret, file_doc, app_id_reference, uid, datasource_id, domain = process.env.XUDA_HOSTNAME, app_obj) {
197
197
  let files = {
198
198
  path: req.path || '/',
199
- name: file_doc.data.folder_name || '/',
199
+ name: file_doc?.data?.folder_name || '/',
200
200
  file_path: req.path || '/',
201
201
  sizeInBytes: 0,
202
202
  children: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1181",
3
+ "version": "1.1.1182",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {