diff --git a/src/modules/host/services/host.service.ts b/src/modules/host/services/host.service.ts index cb4b663..6d3d418 100644 --- a/src/modules/host/services/host.service.ts +++ b/src/modules/host/services/host.service.ts @@ -126,7 +126,7 @@ export class HostService { } } } - if (host.user) { + if (host.user.profileImage) { const key = host.user.profileImage.startsWith("http") ? host.user.profileImage.split(".com/")[1] : host.user.profileImage;