update deps
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-08-11 16:43:08 +02:00
parent 4825f54c89
commit 9cfaf5857b
6 changed files with 26 additions and 26 deletions

View File

@@ -29,7 +29,7 @@ class OutputServiceRDBServer {
val dateAfter = call.parameters["dateAfter"] ?: error(HttpStatusCode.NotAcceptable)
val dateTimeFormatter: DateTimeFormatter = DateTimeFormatter.ISO_LOCAL_DATE
val localDateAfter : LocalDate = LocalDate.parse(dateAfter,dateTimeFormatter)
val resultList = resultObjectService.getSampleObjectafterDate(localDateAfter) ?: call.respond(HttpStatusCode.NotFound)
val resultList = resultObjectService.getSampleObjectafterDate(localDateAfter)
call.respond(resultList)
}
@@ -38,7 +38,7 @@ class OutputServiceRDBServer {
val dateAfter = call.parameters["dateBefore"] ?: error(HttpStatusCode.NotAcceptable)
val dateTimeFormatter: DateTimeFormatter = DateTimeFormatter.ISO_LOCAL_DATE
val localDateBefore : LocalDate = LocalDate.parse(dateAfter,dateTimeFormatter)
val resultList = resultObjectService.getSampleObjectbeforeDate(localDateBefore) ?: call.respond(HttpStatusCode.NotFound)
val resultList = resultObjectService.getSampleObjectbeforeDate(localDateBefore)
call.respond(resultList)
}