queryparameter

This commit is contained in:
Bastian Wagner
2024-12-27 21:56:01 +01:00
parent 40cd25a771
commit afed523d5b

View File

@@ -30,7 +30,7 @@ export class AuthController {
async login( async login(
@Body('username') username: string, @Body('username') username: string,
@Body('password') password: string, @Body('password') password: string,
@Body('client_id') clientId: string, @Query('client_id') clientId: string,
) { ) {
const token = await this.usersService.createToken( const token = await this.usersService.createToken(
username, username,