@xuda.io/drive_module 1.1.1215 → 1.1.1217

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 +5 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -204,7 +204,7 @@ exports.get_drive_files = async function (req) {
204
204
  sizeInBytes: 0,
205
205
  children: [],
206
206
  };
207
- debugger;
207
+
208
208
  for await (let doc of ret.docs) {
209
209
  if (doc.type === 'file') {
210
210
  let ts = '';
@@ -2168,6 +2168,10 @@ exports.update_drive_addons = async function (req, job_id) {
2168
2168
  return save_ret;
2169
2169
  };
2170
2170
 
2171
+ exports.get_user_drive_doc = async function (filename) {
2172
+ return await get_drive_doc('file', 'user', null, null, filename, null);
2173
+ };
2174
+
2171
2175
  setTimeout(async function () {
2172
2176
  // console.log(
2173
2177
  // await exports.search_drive_files({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1215",
3
+ "version": "1.1.1217",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {