diff --git a/src/main/java/de/tum/cit/aet/artemis/communication/domain/Reaction.java b/src/main/java/de/tum/cit/aet/artemis/communication/domain/Reaction.java index 65f3181cb555..0fe54aa28e5b 100644 --- a/src/main/java/de/tum/cit/aet/artemis/communication/domain/Reaction.java +++ b/src/main/java/de/tum/cit/aet/artemis/communication/domain/Reaction.java @@ -32,8 +32,8 @@ public class Reaction extends DomainObject { @ManyToOne - // Avoid to leak too much information, only the name (for display) and the id (for comparison) is needed) - @JsonIncludeProperties({ "id", "name" }) + // Avoid to leak too much information, only the name + image (for display) and the id (for comparison) is needed) + @JsonIncludeProperties({ "id", "name", "imageUrl" }) private User user; @CreatedDate