@xuda.io/ai_module 1.1.4350 → 1.1.4352
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -6786,10 +6786,10 @@ const get_profile_image = async function (uid, account_type = 'business', name,
|
|
|
6786
6786
|
try {
|
|
6787
6787
|
// first attempt
|
|
6788
6788
|
let url = await get_url();
|
|
6789
|
-
if (
|
|
6789
|
+
if (url.substr(0, 7) !== 'https://') {
|
|
6790
6790
|
// second attempt
|
|
6791
6791
|
url = await get_url();
|
|
6792
|
-
if (
|
|
6792
|
+
if (url.substr(0, 7) !== 'https://') {
|
|
6793
6793
|
factual_image_mode = true;
|
|
6794
6794
|
}
|
|
6795
6795
|
} else {
|