Skip to content

Commit

Permalink
modified code for style check
Browse files Browse the repository at this point in the history
  • Loading branch information
Johna91 committed Feb 7, 2024
1 parent 413ba35 commit c064bc1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public ResponseEntity<?> getUpcomingEvents(@RequestBody List<Long> sportsIds) {

// todo this is placeholder for frontend - it doesn't do anything yet
@GetMapping("/event-history")
public EventHistoryDTO getEventsHistory(){
public EventHistoryDTO getEventsHistory() {
EventHistoryDTO eventHistoryDTO = new EventHistoryDTO();
return eventHistoryDTO;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@NoArgsConstructor
public class EventHistoryDTO {

private Integer userScore;
private Integer opponentScore;
private UserDTO opponent;
private Integer userScore;
private Integer opponentScore;
private UserDTO opponent;
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
@NoArgsConstructor
public class UserDTO {

private String name;
private String name;
}

0 comments on commit c064bc1

Please sign in to comment.