Skip to content

Commit

Permalink
Added basic CRUD operations
Browse files Browse the repository at this point in the history
  • Loading branch information
philpotisk committed Apr 24, 2023
1 parent 5ff4389 commit fcc7ba4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/kotlin/id/walt/web/UserApi.kt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ object UserApi {
}
}) {
val userRequest = call.receive<UserData>()
println(userRequest)
transaction {
Users.insertAndGetId {
it[email] = userRequest.email
Expand All @@ -110,7 +109,6 @@ object UserApi {
}
}) {
val id = UUID.fromString(context.parameters.get("id"))
println(id)
transaction {
Users.deleteWhere { Users.id eq id }
}
Expand Down

0 comments on commit fcc7ba4

Please sign in to comment.