@xuda.io/account_module 1.2.1080 → 1.2.1082

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 +4 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2486,9 +2486,11 @@ export const update_account_profile = async function (req, job_id, headers) {
2486
2486
  }
2487
2487
  }
2488
2488
 
2489
- if(changes_arr.length)
2489
+ if (changes_arr.length) {
2490
+ throw new Error('no change');
2491
+ }
2490
2492
 
2491
- const d = Date.now();
2493
+ acc_obj.ts = Date.now();
2492
2494
  const doc = {
2493
2495
  _id: await _common.xuda_get_uuid('contact_profile'),
2494
2496
  stat: 3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1080",
3
+ "version": "1.2.1082",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {