@xuda.io/ai_module 1.1.4204 → 1.1.4205
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.
- package/index.mjs +0 -13
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3417,19 +3417,6 @@ export const update_thumbnail = async function (type, doc, app_id, uid, job_id,
|
|
|
3417
3417
|
};
|
|
3418
3418
|
|
|
3419
3419
|
const get_drive_file_response = async function (drive_type, app_id, uid, file_path) {
|
|
3420
|
-
// const filename = path.basename(file_path);
|
|
3421
|
-
// const db = get_xuda_couch('xuda_drive');
|
|
3422
|
-
// const ret = await db.find({
|
|
3423
|
-
// selector: {
|
|
3424
|
-
// docType: 'user_drive',
|
|
3425
|
-
// type: 'file',
|
|
3426
|
-
// file_path: path.dirname(file_path) === '.' ? '/' : path.dirname(file_path),
|
|
3427
|
-
// originalname: filename,
|
|
3428
|
-
// stat: 3,
|
|
3429
|
-
// },
|
|
3430
|
-
// });
|
|
3431
|
-
// const doc = ret?.docs?.[0];
|
|
3432
|
-
|
|
3433
3420
|
const check_existing_file_ret = await drive_module.check_drive_file({ drive_type, app_id, uid, file_path });
|
|
3434
3421
|
|
|
3435
3422
|
if (!check_existing_file_ret?.duplicates) {
|