Skip to content

Commit

Permalink
feat (Verification): Use HttpMapper singleton in place new instance
Browse files Browse the repository at this point in the history
  • Loading branch information
JPPortier committed Feb 19, 2025
1 parent 40dd43a commit 41ee7af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public VerificationReportService(
VerificationContext context, HttpClient httpClient, Map<String, AuthManager> authManagers) {
this.api =
new VerificationsReportApi(
httpClient, context.getVerificationServer(), authManagers, new HttpMapper());
httpClient, context.getVerificationServer(), authManagers, HttpMapper.getInstance());
}

protected VerificationsReportApi getApi() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public VerificationStartService(
VerificationContext context, HttpClient httpClient, Map<String, AuthManager> authManagers) {
this.api =
new VerificationsStartApi(
httpClient, context.getVerificationServer(), authManagers, new HttpMapper());
httpClient, context.getVerificationServer(), authManagers, HttpMapper.getInstance());
}

protected VerificationsStartApi getApi() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public VerificationStatusService(
VerificationContext context, HttpClient httpClient, Map<String, AuthManager> authManagers) {
this.api =
new VerificationStatusApi(
httpClient, context.getVerificationServer(), authManagers, new HttpMapper());
httpClient, context.getVerificationServer(), authManagers, HttpMapper.getInstance());
}

protected VerificationStatusApi getApi() {
Expand Down

0 comments on commit 41ee7af

Please sign in to comment.