Skip to content

Commit

Permalink
fix to work
Browse files Browse the repository at this point in the history
  • Loading branch information
dasniko committed Feb 13, 2024
1 parent f2db098 commit ace4078
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import jakarta.ws.rs.Consumes;
import jakarta.ws.rs.NotFoundException;
import jakarta.ws.rs.POST;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.UriBuilder;
Expand Down Expand Up @@ -36,6 +37,7 @@ public class CustomTokenResource {
private final AdminPermissionEvaluator auth;

@POST
@Path("")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
public CustomTokenResponse createTokenLink(CustomTokenRequest payload) {
Expand Down

0 comments on commit ace4078

Please sign in to comment.