|
@@ -9,15 +9,14 @@ export class AuthHttpService implements AuthHttpServiceInterface {
|
|
|
private authServerUrl: string,
|
|
|
) {}
|
|
|
|
|
|
- async getUserKeyParams(dto: { email?: string; uuid?: string; authenticated: boolean }): Promise<KeyParamsData> {
|
|
|
+ async getUserKeyParams(userUuid: string): Promise<KeyParamsData> {
|
|
|
const keyParamsResponse = await this.httpClient.request({
|
|
|
method: 'GET',
|
|
|
timeout: 10000,
|
|
|
headers: {
|
|
|
Accept: 'application/json',
|
|
|
},
|
|
|
- url: `${this.authServerUrl}/users/params`,
|
|
|
- params: dto,
|
|
|
+ url: `${this.authServerUrl}/users/params?uuid=${userUuid}`,
|
|
|
validateStatus:
|
|
|
/* istanbul ignore next */
|
|
|
(status: number) => status >= 200 && status < 500,
|