From a0e0f60f013d3c51137ac76242d9fc074e334a69 Mon Sep 17 00:00:00 2001 From: Danil Nikolaev Date: Fri, 5 Jul 2024 19:41:20 +0300 Subject: [PATCH] remove pre-generated qr codes --- .../com/meloda/kubsau/controller/ProgramController.kt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/kotlin/com/meloda/kubsau/controller/ProgramController.kt b/src/main/kotlin/com/meloda/kubsau/controller/ProgramController.kt index 370fc16..ea08139 100644 --- a/src/main/kotlin/com/meloda/kubsau/controller/ProgramController.kt +++ b/src/main/kotlin/com/meloda/kubsau/controller/ProgramController.kt @@ -183,13 +183,6 @@ class ProgramController : BaseController { throw ContentNotFoundException } - // TODO: 02/07/2024, Danil Nikolaev: remove after presentation - if (groupIds.singleOrNull() == 1) { - delay(1500) - call.respondFile(File("$DATA_FOLDER/IT2001.zip")) - return@get - } - val students = studentDao.allStudentsByGroupIdsAsMap(groupIds, true) val disciplines = programDisciplineDao.allDisciplineIdsByProgramIdAsMap(programId)