Skip to content

Commit da9dcd2

Browse files
fix: correct request parameter name
1 parent c1958c1 commit da9dcd2

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
@@ -23,7 +23,7 @@ import usecase.AuthenticationUseCase
2323
fun Route.authAPI(provider: Provider, apiPath: String) {
2424
post("$apiPath/auth") {
2525
if (AuthenticationUseCase(
26-
call.parameters["id"].toString(),
26+
call.parameters["userId"].toString(),
2727
call.parameters["password"].toString(),
2828
UserController(provider.userDatabaseManager),
2929
).execute()

0 commit comments

Comments
 (0)