queryparameter
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user