@xuda.io/account_module 1.2.1245 → 1.2.1246

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2434,9 +2434,9 @@ export const onboarding_completed = async function (req, job_id, headers) {
2434
2434
 
2435
2435
  let _design = await db_module.get_app_couch_doc_native(app_id, '_design/xuda');
2436
2436
  if (!_design.views.ai_chat_usage) {
2437
- design.views[ai_chat_usage] = ``;
2437
+ _design.views[ai_chat_usage] = ``;
2438
2438
  }
2439
-
2439
+ await db_module.save_app_couch_doc_native(app_id, _design);
2440
2440
  ///////
2441
2441
 
2442
2442
  return save_ret;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1245",
3
+ "version": "1.2.1246",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {