Skip to content

Commit

Permalink
No String on Request
Browse files Browse the repository at this point in the history
  • Loading branch information
nunofreitas96 committed Feb 6, 2021
1 parent a43c5a8 commit fdbebea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ public String document(@RequestParam(value = "id", defaultValue = "") String uui
}

@GetMapping("/searchdoc")
public String documentSummary(@RequestParam(value = "refcode", defaultValue = "") String refcode) {
public String documentSummary(@RequestParam(value = "refcode", defaultValue = "") Object rcode) {
String refcode = rcode.toString();
refcode = "\"" + refcode + "\"";
Connection conn = new Connection();
HashMap<String,Object> list0 = new HashMap<>() ;
ResponseClass uuidrep = new ResponseClass(list0);
Expand Down
Binary file not shown.

0 comments on commit fdbebea

Please sign in to comment.