Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/common' into social/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
doxxx93 committed Feb 22, 2024
2 parents f66e80e + 626f220 commit e7abb80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
import org.palette.dto.EaselEvent;

public record PaintViewedEvent(Long paintId) implements EaselEvent {
public static PaintViewedEvent from(Long paintId) {
return new PaintViewedEvent(paintId);
}

@Override
public String getTopic() {
return TopicConstant.PAINT_VIEWED.value();
return TopicConstant.PAINT_VIEWED.value;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ public record UpdateUserEvent (
) implements EaselEvent {
@Override
public String getTopic() {
return TopicConstant.UPDATE_USER.value();
return TopicConstant.UPDATE_USER.value;
}
}

0 comments on commit e7abb80

Please sign in to comment.