@xuda.io/drive_module 1.1.545 → 1.1.547
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.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1434,10 +1434,10 @@ exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
|
|
|
1434
1434
|
|
|
1435
1435
|
/// check existing file
|
|
1436
1436
|
if (!override) {
|
|
1437
|
-
const workspace_drive_res = await db_module.
|
|
1438
|
-
|
|
1437
|
+
const workspace_drive_res = await db_module.find_app_couch_query(
|
|
1438
|
+
app_id,
|
|
1439
1439
|
{
|
|
1440
|
-
selector: { docType: "
|
|
1440
|
+
selector: { docType: "workspace_drive", originalname, stat: 3 },
|
|
1441
1441
|
limit: 1,
|
|
1442
1442
|
}
|
|
1443
1443
|
);
|