url fix
This commit is contained in:
@@ -57,7 +57,7 @@ export class AuthController {
|
|||||||
return this.usersService.loginWithSessionKey(code, null, true);
|
return this.usersService.loginWithSessionKey(code, null, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Get()
|
@Get('client')
|
||||||
async getClient(
|
async getClient(
|
||||||
@Query('client_id') clientId: string,
|
@Query('client_id') clientId: string,
|
||||||
@Query('response_type') responseType: string,
|
@Query('response_type') responseType: string,
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ export class LoginComponent {
|
|||||||
|
|
||||||
if (!this.client_id) { return; }
|
if (!this.client_id) { return; }
|
||||||
console.log(params);
|
console.log(params);
|
||||||
this.http.get<any>('api/', {
|
this.http.get<any>('api/client', {
|
||||||
params
|
params
|
||||||
}).subscribe({
|
}).subscribe({
|
||||||
next: (client) => {
|
next: (client) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user