@xuda.io/account_module 1.2.1342 → 1.2.1344
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 +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2781,13 +2781,13 @@ export const update_account_profile = async function (req, job_id, headers) {
|
|
|
2781
2781
|
|
|
2782
2782
|
export const update_entity_account_profiles = async function (req, job_id, headers) {
|
|
2783
2783
|
const { uid, _id, account_profiles = [] } = req;
|
|
2784
|
-
const app_id = await
|
|
2784
|
+
const app_id = await get_account_default_project_id(uid);
|
|
2785
2785
|
|
|
2786
2786
|
try {
|
|
2787
2787
|
let doc = await db_module.get_app_couch_doc_native(app_id, _id);
|
|
2788
2788
|
|
|
2789
2789
|
switch (doc.docType) {
|
|
2790
|
-
case '
|
|
2790
|
+
case 'chat_conversation':
|
|
2791
2791
|
case 'contact': {
|
|
2792
2792
|
doc.account_profiles = account_profiles;
|
|
2793
2793
|
break;
|