Skip to content

Commit

Permalink
fix(gravatar): fix for identicon undefined
Browse files Browse the repository at this point in the history
detected via e2e tests
  • Loading branch information
tkohr committed Dec 6, 2023
1 parent 9fd3ff8 commit d16f177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/api/repository/src/lib/gn4/auth/gravatar.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class GravatarService implements AvatarServiceInterface {
private GRAVATAR_IDENTICON = 'mp'

private readonly identicon$ = this.gn4SettingsService.identicon$.pipe(
map((identicon) => identicon.replace('gravatar:', ''))
map((identicon) => identicon?.replace('gravatar:', ''))
)
constructor(private gn4SettingsService: Gn4SettingsService) {}

Expand Down

0 comments on commit d16f177

Please sign in to comment.