@xuda.io/drive_module 1.1.1371 → 1.1.1373

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.mjs +3 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -220,7 +220,7 @@ export const get_drive_files = async (req) => {
220
220
  size: formatBytes(doc.size),
221
221
  extension: doc?.file_ext?.substr(1),
222
222
  type: doc.type,
223
- access_link: `https://${domain}/${drive_type}-drive/${datasource_id || app_id}/${doc._id}${ts}`,
223
+ access_link: `https://${domain}/${drive_type}-drive/${datasource_id || app_id || uid}/${doc._id}${ts}`,
224
224
  is_archive: doc.is_archive,
225
225
  public: doc.public,
226
226
  path: doc.file_path,
@@ -1457,8 +1457,8 @@ const validate_drive_type = (drive_type) => {
1457
1457
  }
1458
1458
  };
1459
1459
 
1460
- export const run_drive_pending_ocr = async (req) => {
1461
- const { uid } = req;
1460
+ export const run_drive_pending_ocr = async () => {
1461
+ // const { uid } = req;
1462
1462
  try {
1463
1463
  // let opt = {
1464
1464
  // selector: { docType: 'user_drive', ocr_stat: 1, stat: 3 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1371",
3
+ "version": "1.1.1373",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {