Selaa lähdekoodia

fix(syncing-server): increase axios timeout on calling auth

Karol Sójko 1 vuosi sitten
vanhempi
commit
eafb064d79
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      packages/syncing-server/src/Infra/HTTP/AuthHttpService.ts

+ 1 - 0
packages/syncing-server/src/Infra/HTTP/AuthHttpService.ts

@@ -12,6 +12,7 @@ export class AuthHttpService implements AuthHttpServiceInterface {
   async getUserKeyParams(dto: { email?: string; uuid?: string; authenticated: boolean }): Promise<KeyParamsData> {
     const keyParamsResponse = await this.httpClient.request({
       method: 'GET',
+      timeout: 10000,
       headers: {
         Accept: 'application/json',
       },