fixed the profile image issue

This commit is contained in:
2025-11-29 14:29:41 +05:30
parent 84c4b1f2b9
commit 15b8afd9b2

View File

@@ -1455,7 +1455,7 @@ export class MinglarService {
host.logoPath = await getPresignedUrl(bucket, key);
}
if (host.user) {
if (host.user.profileImage) {
const key = host.user.profileImage.startsWith("http")
? host.user.profileImage.split(".com/")[1]
: host.user.profileImage;