@xuda.io/account_module 1.2.1461 → 1.2.1463

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.
Files changed (2) hide show
  1. package/index.mjs +6 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -193,6 +193,12 @@ export const update_account_info = async function (req, job_id, headers) {
193
193
  const save_ret = await db_module.save_couch_doc('xuda_accounts', account_obj);
194
194
 
195
195
  const ai_module = await import(`${module_path}/ai_module/index.mjs`);
196
+
197
+ if (account_obj.account_info?.profile_picture) {
198
+ if (!account_obj.account_info?.profile_avatar) {
199
+ set_account_profile_picture(uid, uid, {}, job_id, headers);
200
+ }
201
+ }
196
202
  // if (account_obj.account_info?.profile_picture) {
197
203
  // if (!account_obj.account_info?.profile_avatar) {
198
204
  // ai_module.get_profile_avatar({ url: account_obj.account_info?.profile_picture, uid, account_obj, account_profile_info }, job_id, headers);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1461",
3
+ "version": "1.2.1463",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {