@xuda.io/account_module 1.2.1341 → 1.2.1343
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 +3 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2480,8 +2480,8 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
|
|
|
2480
2480
|
};
|
|
2481
2481
|
|
|
2482
2482
|
// Usage examples:
|
|
2483
|
-
console.log(stringToColour('User A')); // -> Consistent color for "User A"
|
|
2484
|
-
console.log(stringToColour('Project Z')); // -> Consistent color for "Project Z"
|
|
2483
|
+
// console.log(stringToColour('User A')); // -> Consistent color for "User A"
|
|
2484
|
+
// console.log(stringToColour('Project Z')); // -> Consistent color for "Project Z"
|
|
2485
2485
|
|
|
2486
2486
|
doc.avatar_source = account_info_ret.data.avatar_source;
|
|
2487
2487
|
doc.icon_pattern = await get_pattern(doc);
|
|
@@ -2781,7 +2781,7 @@ 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);
|