Skip to content

Commit

Permalink
fix: incorrect args position in raiseInternalServerError
Browse files Browse the repository at this point in the history
  • Loading branch information
Chinlinlee committed Nov 18, 2023
1 parent 6b667a2 commit c9ca0ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error/api-errors.handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class ApiErrorArrayHandler {
* @param {ApiLogger} apiLogger
* @param {Error} e
*/
static raiseInternalServerError(response, apiLogger, e) {
static raiseInternalServerError(e, response, apiLogger) {
apiLogger.logger.error(e);

if (!response.headersSent) {
Expand Down

0 comments on commit c9ca0ff

Please sign in to comment.