fix: exit interview discount link not working (#2381)

This commit is contained in:
Karol Sójko
2023-08-03 13:28:27 +02:00
committed by GitHub
parent 2036689dd6
commit 027dd41147
2 changed files with 3 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ export class UserApiService implements UserApiServiceInterface {
return response
} catch (error) {
throw new ApiCallError(ErrorMessage.GenericRegistrationFail)
throw new ApiCallError(ErrorMessage.GenericFail)
}
}

View File

@@ -140,6 +140,7 @@ import {
SubscriptionApiService,
SubscriptionServer,
UserApiService,
UserRequestServer,
UserServer,
WebSocketApiService,
WebSocketServer,
@@ -1204,7 +1205,7 @@ export class Dependencies {
})
this.factory.set(TYPES.UserRequestServer, () => {
return new UserServer(this.get(TYPES.HttpService))
return new UserRequestServer(this.get(TYPES.HttpService))
})
this.factory.set(TYPES.InternalEventBus, () => {