From efed69ad155925bd029cbce789de7369c67a36dc Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos Date: Thu, 16 Jan 2020 16:50:46 +0100 Subject: [PATCH 1/2] It should fix #460 --- .../main/java/ispyb/ws/rest/proposal/SessionRestWebService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ispyb-ws/src/main/java/ispyb/ws/rest/proposal/SessionRestWebService.java b/ispyb-ws/src/main/java/ispyb/ws/rest/proposal/SessionRestWebService.java index e91685163..602496d26 100644 --- a/ispyb-ws/src/main/java/ispyb/ws/rest/proposal/SessionRestWebService.java +++ b/ispyb-ws/src/main/java/ispyb/ws/rest/proposal/SessionRestWebService.java @@ -88,7 +88,7 @@ public Response getSessionByProposalId(@PathParam("token") String token, @PathPa try { List> result = getSessionService().getSessionViewByProposalId(this.getProposalId(proposal)); this.logFinish(methodName, id, logger); - return sendResponse(result); + return sendResponse(result, true); } catch (Exception e) { return this.logError(methodName, e, id, logger); } From b54fd66a18bbac88f54b6a6abd7267998e75bc5f Mon Sep 17 00:00:00 2001 From: Alejandro De Maria Antolinos Date: Fri, 17 Jan 2020 11:01:34 +0100 Subject: [PATCH 2/2] flag is set to false --- .../main/java/ispyb/ws/rest/proposal/SessionRestWebService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ispyb-ws/src/main/java/ispyb/ws/rest/proposal/SessionRestWebService.java b/ispyb-ws/src/main/java/ispyb/ws/rest/proposal/SessionRestWebService.java index 602496d26..1f8ae34cc 100644 --- a/ispyb-ws/src/main/java/ispyb/ws/rest/proposal/SessionRestWebService.java +++ b/ispyb-ws/src/main/java/ispyb/ws/rest/proposal/SessionRestWebService.java @@ -88,7 +88,7 @@ public Response getSessionByProposalId(@PathParam("token") String token, @PathPa try { List> result = getSessionService().getSessionViewByProposalId(this.getProposalId(proposal)); this.logFinish(methodName, id, logger); - return sendResponse(result, true); + return sendResponse(result, false); } catch (Exception e) { return this.logError(methodName, e, id, logger); }