@xuda.io/account_module 1.2.2219 → 1.2.2221
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 +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3656,7 +3656,9 @@ export const record_ai_credit = async function (uid, credits = 0, source, detail
|
|
|
3656
3656
|
// console.log(save_ret);
|
|
3657
3657
|
return save_ret;
|
|
3658
3658
|
} catch (err) {
|
|
3659
|
-
|
|
3659
|
+
if (!err?.message?.includes('already credited!')) {
|
|
3660
|
+
console.error(err);
|
|
3661
|
+
}
|
|
3660
3662
|
return { code: -78, data: err.message };
|
|
3661
3663
|
}
|
|
3662
3664
|
};
|