@xuda.io/account_module 1.2.1243 → 1.2.1245
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 +5 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2432,6 +2432,11 @@ export const onboarding_completed = async function (req, job_id, headers) {
|
|
|
2432
2432
|
|
|
2433
2433
|
/// create view
|
|
2434
2434
|
|
|
2435
|
+
let _design = await db_module.get_app_couch_doc_native(app_id, '_design/xuda');
|
|
2436
|
+
if (!_design.views.ai_chat_usage) {
|
|
2437
|
+
design.views[ai_chat_usage] = ``;
|
|
2438
|
+
}
|
|
2439
|
+
|
|
2435
2440
|
///////
|
|
2436
2441
|
|
|
2437
2442
|
return save_ret;
|