💂‍♂️ Adds executor service

This commit is contained in:
Daniel Svitan
2025-05-11 18:45:37 +02:00
parent 2fa523b814
commit beb37d92f6
6 changed files with 83 additions and 9 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ fun Application.routeAuth() {
call.respond(AuthService.readAll())
}
post("/auth") {
put("/auth") {
val auth = call.receive<NewAuthDTO>()
call.respond(HttpStatusCode.Created, AuthService.create(auth))
}