Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
epicsoft-llc committed Sep 22, 2021
1 parent df1847d commit 7afba04
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
public class InitializeController {

private static final String PATH = "/initialize/{subject}";

private final InitializeService initializeService;

/**
Expand All @@ -59,9 +59,10 @@ public class InitializeController {
@ApiResponse(responseCode = "500", description = "Internal Server Error"),
})
@GetMapping(value = PATH, produces = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<QrCodeDto> initialize(@PathVariable(value = "subject", required = true) final String subject) {
public ResponseEntity<QrCodeDto> initialize(
@PathVariable(value = "subject", required = true) final String subject) {
log.debug("Incoming GET request to '{}' with subject '{}'", PATH, subject);

return ResponseEntity.ok()
.cacheControl(CacheControl.noCache())
.body(initializeService.getBySubject(subject));
Expand Down

0 comments on commit 7afba04

Please sign in to comment.