queryparameter
This commit is contained in:
@@ -30,7 +30,7 @@ export class AuthController {
|
||||
async login(
|
||||
@Body('username') username: string,
|
||||
@Body('password') password: string,
|
||||
@Body('client_id') clientId: string,
|
||||
@Query('client_id') clientId: string,
|
||||
) {
|
||||
const token = await this.usersService.createToken(
|
||||
username,
|
||||
|
||||
Reference in New Issue
Block a user