Skip to content

Commit

Permalink
fix: exit interview discount lint not working
Browse files Browse the repository at this point in the history
  • Loading branch information
karolsojko committed Aug 3, 2023
1 parent 2036689 commit 0f248e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/api/src/Domain/Client/User/UserApiService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class UserApiService implements UserApiServiceInterface {

return response
} catch (error) {
throw new ApiCallError(ErrorMessage.GenericRegistrationFail)
throw new ApiCallError(ErrorMessage.GenericFail)
}
}

Expand Down
3 changes: 2 additions & 1 deletion packages/snjs/lib/Application/Dependencies/Dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ import {
SubscriptionApiService,
SubscriptionServer,
UserApiService,
UserRequestServer,
UserServer,
WebSocketApiService,
WebSocketServer,
Expand Down Expand Up @@ -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, () => {
Expand Down

0 comments on commit 0f248e7

Please sign in to comment.