Skip to content

Commit

Permalink
Fixed #325 uniforming parameter names
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Sep 11, 2018
1 parent 2c6c162 commit 5d68f95
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class GrobidRestService implements GrobidPaths {
private static final String DATE = "date";
private static final String AFFILIATIONS = "affiliations";
private static final String CITATION = "citations";
private static final String TEXT = "text";
// private static final String TEXT = "text";
private static final String SHA1 = "sha1";
private static final String XML = "xml";
private static final String INPUT = "input";
Expand Down Expand Up @@ -329,7 +329,7 @@ public Response processCitationPatentPDF(@FormDataParam(INPUT) InputStream pInpu
@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
@Produces(MediaType.APPLICATION_XML)
@POST
public Response processCitationPatentTXT_post(@FormParam(TEXT) String text,
public Response processCitationPatentTXT_post(@FormParam(INPUT) String text,
@FormParam("consolidateCitations") String consolidate) {
boolean consol = validateConsolidationParam(consolidate);
return restProcessString.processCitationPatentTXT(text, consol);
Expand Down

0 comments on commit 5d68f95

Please sign in to comment.