@xuda.io/account_module 1.2.1577 → 1.2.1578
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 +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3140,7 +3140,7 @@ export const run_to_expire_ai_credits = async function () {
|
|
|
3140
3140
|
for await (let ai_credit_doc of active_ai_credits.docs) {
|
|
3141
3141
|
ai_credit_doc.stat = 5;
|
|
3142
3142
|
ai_credit_doc.stat_ts = Date.now();
|
|
3143
|
-
|
|
3144
|
-
const save_ret = await db_module.save_couch_doc('
|
|
3143
|
+
ai_credit_doc.stat_reason = 'expired';
|
|
3144
|
+
// const save_ret = await db_module.save_couch_doc('xuda_billing', ai_credit_doc);
|
|
3145
3145
|
}
|
|
3146
3146
|
};
|