@xuda.io/ai_module 1.1.4777 → 1.1.4778
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -7037,10 +7037,9 @@ export const get_profile_picture = async function (uid, account_type = 'business
|
|
|
7037
7037
|
try {
|
|
7038
7038
|
url = await getUserPhotoByEmail(email);
|
|
7039
7039
|
if (url) {
|
|
7040
|
-
profile_picture_source = 'google';
|
|
7041
|
-
|
|
7042
7040
|
try {
|
|
7043
7041
|
image_blob_ret = await get_image_blob_from_downloaded_image(url);
|
|
7042
|
+
profile_picture_source = 'google';
|
|
7044
7043
|
} catch (err) {
|
|
7045
7044
|
if (!err.message.includes('Failed to fetch image URL')) {
|
|
7046
7045
|
console.error(err);
|