Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
fix: Ratings do not display users 'in memory'
Browse files Browse the repository at this point in the history
  • Loading branch information
aelamrani committed Aug 27, 2019
1 parent 2fbc5ae commit dcd96a4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -284,7 +284,7 @@ private RatingEntity convert(final Rating rating) {
if (user.getFirstname() != null && user.getLastname() != null) {
ratingEntity.setUserDisplayName(user.getFirstname() + ' ' + user.getLastname());
} else {
ratingEntity.setUserDisplayName(user.getEmail());
ratingEntity.setUserDisplayName(user.getEmail() == null ? user.getSourceId() : user.getEmail());
}

ratingEntity.setId(rating.getId());
Expand Down

0 comments on commit dcd96a4

Please sign in to comment.