Skip to content

Commit

Permalink
chore: remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
bobhageman committed Sep 6, 2023
1 parent bf65c51 commit 602222b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ public EmailRestApi() {
@POST
@Path("/send-email")
@Produces(MediaType.TEXT_PLAIN)
public Response sendEmail(@Context HttpServletRequest req,
@FormParam("email") String email,
public Response sendEmail(@FormParam("email") String email,
@FormParam("language") String lang,
@HeaderParam("Authorization") String auth) {
EmailConfiguration conf = EmailConfiguration.getInstance();
Expand Down Expand Up @@ -112,8 +111,7 @@ public Response sendEmail(@Context HttpServletRequest req,
@POST
@Path("/send-email-token")
@Produces(MediaType.TEXT_PLAIN)
public Response sendEmailToken(@Context HttpServletRequest req,
@FormParam("email") String emailAddress,
public Response sendEmailToken(@FormParam("email") String emailAddress,
@FormParam("language") String language) {
EmailConfiguration conf = EmailConfiguration.getInstance();

Expand Down

0 comments on commit 602222b

Please sign in to comment.