From 527c575eeb91e418f32349a66bd31713ccff271c Mon Sep 17 00:00:00 2001 From: anhefti Date: Tue, 30 May 2023 10:42:43 +0200 Subject: [PATCH] removed ping number --- .../webservice/weblayer/api/ExamAPI_V1_Controller.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/ExamAPI_V1_Controller.java b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/ExamAPI_V1_Controller.java index a3e0a8df..04a16689 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/ExamAPI_V1_Controller.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/weblayer/api/ExamAPI_V1_Controller.java @@ -328,14 +328,14 @@ public class ExamAPI_V1_Controller { public void ping(final HttpServletRequest request, final HttpServletResponse response) { final String connectionToken = request.getHeader(API.EXAM_API_SEB_CONNECTION_TOKEN); - final String pingNumString = request.getParameter(API.EXAM_API_PING_NUMBER); + //final String pingNumString = request.getParameter(API.EXAM_API_PING_NUMBER); final String instructionConfirm = request.getParameter(API.EXAM_API_PING_INSTRUCTION_CONFIRM); final String instruction = this.sebClientSessionService .notifyPing( connectionToken, - Utils.getMillisecondsNow(), - pingNumString != null ? Integer.parseInt(pingNumString) : -1, + 0, + 0, instructionConfirm); if (instruction == null) {