@xuda.io/drive_module 1.1.788 → 1.1.790

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 +3 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -497,16 +497,12 @@ exports.get_drive_files = async function (req) {
497
497
  // }
498
498
  // };
499
499
 
500
- exports.get_drive_file_info = async function (req) {
500
+ exports.get_drive_file_info = async function (req, job_id, headers) {
501
501
  try {
502
- const { type, drive_type, app_id, file_name } = req;
502
+ const { type, drive_type, uid, app_id, file_name } = req;
503
503
  var { file_path } = req;
504
504
 
505
- let doc=await get_drive_doc(drive_type, app_id,uid,file_path,headers)
506
-
507
- let doc_ret,
508
- doc_id,
509
-
505
+ let doc = await get_drive_doc(drive_type, app_id, uid, file_path, headers);
510
506
 
511
507
  const app_id_master = await _common.get_project_app_id(app_id, true);
512
508
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.788",
3
+ "version": "1.1.790",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {