Skip to content

Commit

Permalink
INTYGFV-16783: Use seeOther (303) instead of temporaryRedirect (307) …
Browse files Browse the repository at this point in the history
…for launch-unit-selection should always be a GET request
  • Loading branch information
mww-sopra-steria committed Aug 23, 2024
1 parent cf4bc3c commit cca8ae1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ private Response buildErrorResponse(UriInfo uriInfo, String errorReason) {

private Response buildSelectUnitResponse(UriInfo uriInfo, String certificateId) {
final var location = reactUriFactory.uriForUnitSelection(uriInfo, certificateId);
return Response.temporaryRedirect(location).build();
return Response.seeOther(location).build();
}

private Response buildViewCertificateResponse(UriInfo uriInfo, PrepareRedirectToIntyg prepareRedirectToIntyg) {
Expand Down

0 comments on commit cca8ae1

Please sign in to comment.