fixed the profile image issue
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user