Skip to content

Commit

Permalink
fix: auditInstanceTransferred call in controller
Browse files Browse the repository at this point in the history
missing `service` to call auditInstanceTransferred.
  • Loading branch information
Chinlinlee committed Jan 2, 2024
1 parent d99f68a commit 5aca989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/WADO-URI/controller/retrieveInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class RetrieveSingleInstanceController extends Controller {
this.response.on("finish", () => this.service.auditInstanceTransferred());

} catch (e) {
this.auditInstanceTransferred(EventOutcomeIndicator.MajorFailure);
this.service.auditInstanceTransferred(EventOutcomeIndicator.MajorFailure);
let apiErrorArrayHandler = new ApiErrorArrayHandler(this.response, this.logger, e);
return apiErrorArrayHandler.doErrorResponse();
}
Expand Down

0 comments on commit 5aca989

Please sign in to comment.