Skip to content

Commit

Permalink
add default image for avatarUrls
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinBeczak committed Dec 18, 2023
1 parent 515d785 commit b27cf53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ object ChallengeCommentRepository {
id,
osmId,
name,
avatarUrl,
avatarUrl = Option(avatarUrl).getOrElse("/assets/images/user_no_image.png"),
challengeId,
projectId,
created,
Expand All @@ -142,7 +142,7 @@ object ChallengeCommentRepository {
id,
osmId,
name,
avatarUrl,
avatarUrl = Option(avatarUrl).getOrElse("/assets/images/user_no_image.png"),
challengeId,
projectId,
created,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ object CommentRepository {
id,
osm_id = osmId,
osm_username = name,
avatarUrl,
avatarUrl = Option(avatarUrl).getOrElse("/assets/images/user_no_image.png"),
taskId = taskId,
challengeId = challengeId,
projectId = projectId,
Expand All @@ -201,7 +201,7 @@ object CommentRepository {
id,
osm_id = osmId,
osm_username = name,
avatarUrl,
avatarUrl = Option(avatarUrl).getOrElse("/assets/images/user_no_image.png"),
taskId = taskId,
challengeId = challengeId,
projectId = projectId,
Expand Down

0 comments on commit b27cf53

Please sign in to comment.