@xuda.io/account_module 1.2.1356 → 1.2.1358
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1985,7 +1985,7 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
1985
1985
|
} else {
|
|
1986
1986
|
// contact without use account
|
|
1987
1987
|
if (metadata.subject && !metadata.is_sent) {
|
|
1988
|
-
is_spam_ret = await ai_module.is_spam_email(uid, email, metadata.subject);
|
|
1988
|
+
const is_spam_ret = await ai_module.is_spam_email(uid, email, metadata.subject, account_profile_info);
|
|
1989
1989
|
try {
|
|
1990
1990
|
if (is_spam_ret.code > -1) {
|
|
1991
1991
|
const data = JSON.parse(is_spam_ret.data);
|