Skip to content

Commit 4acb6e2

Browse files
fix: change parameters order
1 parent 777e6ba commit 4acb6e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ fun Route.authAPI(provider: Provider) {
2424

2525
post("/api/auth") {
2626
if (AuthenticationUseCase(
27-
call.parameters["password"].toString(),
2827
call.parameters["id"].toString(),
28+
call.parameters["password"].toString(),
2929
UserController(provider.userDatabaseManager)
3030
).execute()
3131
) {

0 commit comments

Comments
 (0)