Skip to content

Commit a60c8a7

Browse files
committed
RELEASE-3.10.0: Make sessionId request parameter optional in IDV demo project
1 parent b429d10 commit a60c8a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/doc-scan/src/main/java/com/yoti/docscan/demo/controller/DocScanController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public String getIndex(final Model model, HttpSession httpSession) {
7272
}
7373

7474
@RequestMapping(value = "/success", method = RequestMethod.GET)
75-
public String getUserSession(@RequestParam(value = "sessionId") String sessionIdQueryParam, final Model model, HttpSession httpSession) {
75+
public String getUserSession(@RequestParam(value = "sessionId", required = false) String sessionIdQueryParam, final Model model, HttpSession httpSession) {
7676
String sessionId;
7777
if (sessionIdQueryParam != null) {
7878
sessionId = sessionIdQueryParam;

0 commit comments

Comments
 (0)