Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushik-rishi committed Oct 2, 2023
1 parent a0c8f75 commit f2129f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filters/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ filter.trimLastChar = trimLastChar;

function convertOpertionIdToMiddlewareFn(operationId) {
const capitalizedOperationId = operationId.charAt(0).toUpperCase() + operationId.slice(1);
return "register" + capitalizedOperationId + "Middleware";
return `register${ capitalizedOperationId }Middleware`;
}
filter.convertOpertionIdToMiddlewareFn = convertOpertionIdToMiddlewareFn;

Expand Down

0 comments on commit f2129f9

Please sign in to comment.