Skip to content

Commit

Permalink
[Fix partially kbss-cvut/record-manager-ui#36] Remove injected httpSe…
Browse files Browse the repository at this point in the history
…rvletResponse
  • Loading branch information
kostobog committed Jul 10, 2024
1 parent e5a7048 commit 397569d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,10 @@ public class PatientRecordController extends BaseController {
private final PatientRecordService recordService;

private final ApplicationEventPublisher eventPublisher;
private final HttpServletResponse httpServletResponse;

public PatientRecordController(PatientRecordService recordService, ApplicationEventPublisher eventPublisher, HttpServletResponse httpServletResponse) {
public PatientRecordController(PatientRecordService recordService, ApplicationEventPublisher eventPublisher) {
this.recordService = recordService;
this.eventPublisher = eventPublisher;
this.httpServletResponse = httpServletResponse;
}

@PreAuthorize("hasRole('" + SecurityConstants.ROLE_ADMIN + "') or @securityUtils.isMemberOfInstitution(#institutionKey)")
Expand Down

0 comments on commit 397569d

Please sign in to comment.