@xuda.io/ai_module 1.1.4864 → 1.1.4866
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
|
@@ -6065,6 +6065,7 @@ export const is_spam_email = async function (uid, email, subject, account_profil
|
|
|
6065
6065
|
email,
|
|
6066
6066
|
stat: 3,
|
|
6067
6067
|
},
|
|
6068
|
+
limit: 1,
|
|
6068
6069
|
});
|
|
6069
6070
|
if (spam_whitelists.docs.length) return false;
|
|
6070
6071
|
|
|
@@ -6221,7 +6222,7 @@ export const get_profile_picture = async function (uid, account_type = 'business
|
|
|
6221
6222
|
return photoURL;
|
|
6222
6223
|
} catch (error) {
|
|
6223
6224
|
if (error.code === 'auth/user-not-found') {
|
|
6224
|
-
console.log(`No user found with email: ${email}`);
|
|
6225
|
+
console.log('getUserPhotoByEmail', `No user found with email: ${email}`);
|
|
6225
6226
|
return null;
|
|
6226
6227
|
}
|
|
6227
6228
|
|