Skip to content

Commit fafd3a5

Browse files
fix: change receive method in auth api
1 parent 9ec0e4d commit fafd3a5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/kotlin/infrastructure/api/routes/AuthenticationAPI.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import infrastructure.provider.Provider
1414
import io.ktor.http.HttpStatusCode
1515
import io.ktor.server.application.call
1616
import io.ktor.server.request.receive
17-
import io.ktor.server.request.receiveText
1817
import io.ktor.server.response.respond
1918
import io.ktor.server.routing.Route
2019
import io.ktor.server.routing.post
@@ -37,6 +36,5 @@ fun Route.authAPI(provider: Provider, apiPath: String) {
3736
call.respond(HttpStatusCode.Unauthorized, "Error: wrong credentials!")
3837
}
3938
}
40-
4139
}
4240
}

0 commit comments

Comments
 (0)