@xuda.io/account_module 1.2.1090 → 1.2.1092
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2486,7 +2486,7 @@ 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
2490
|
throw new Error('no change');
|
|
2491
2491
|
// return { code: 56, data: 'no change' };
|
|
2492
2492
|
}
|