@xuda.io/drive_module 1.1.644 → 1.1.646
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 +5 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -669,12 +669,15 @@ exports.update_drive_file = async function (req, job_id, headers, file_obj) {
|
|
|
669
669
|
const app_id_reference = await _common.get_project_app_id(app_id);
|
|
670
670
|
doc_ret = await db_module.get_app_couch_doc(
|
|
671
671
|
app_id_reference,
|
|
672
|
-
|
|
672
|
+
check_existing_file_ret.duplicates[0]._id
|
|
673
673
|
);
|
|
674
674
|
break;
|
|
675
675
|
}
|
|
676
676
|
case "user":
|
|
677
|
-
doc_ret = await db_module.get_couch_doc(
|
|
677
|
+
doc_ret = await db_module.get_couch_doc(
|
|
678
|
+
"xuda_drive",
|
|
679
|
+
check_existing_file_ret.duplicates[0]._id
|
|
680
|
+
);
|
|
678
681
|
break;
|
|
679
682
|
|
|
680
683
|
default:
|