removed ping number

This commit is contained in:
anhefti 2023-05-30 10:42:43 +02:00
parent a5335f1c98
commit 527c575eeb

View file

@ -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) {