@xuda.io/account_module 1.2.1544 → 1.2.1546
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 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1900,6 +1900,7 @@ setTimeout(async () => {
|
|
|
1900
1900
|
|
|
1901
1901
|
export const add_contact = async function (req, job_id, headers) {
|
|
1902
1902
|
try {
|
|
1903
|
+
debugger;
|
|
1903
1904
|
const { uid, email, name, stat, contact_uid, context, source, team_req_id, metadata = {} } = req;
|
|
1904
1905
|
const account_profile_info = await get_active_account_profile_info(uid);
|
|
1905
1906
|
const { account_profile_obj } = account_profile_info;
|
|
@@ -3061,7 +3062,7 @@ export const record_ai_credit = async function (uid, credits = 0, source, detail
|
|
|
3061
3062
|
});
|
|
3062
3063
|
|
|
3063
3064
|
if (dup.docs.length) {
|
|
3064
|
-
throw new Error(`${details} already credited!`);
|
|
3065
|
+
throw new Error(`${details} - already credited!`);
|
|
3065
3066
|
}
|
|
3066
3067
|
|
|
3067
3068
|
const t = Date.now();
|