Skip to content

Commit

Permalink
Fixed lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
f2reninj5 committed Jun 27, 2024
1 parent bc260c5 commit 86f74d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/routes/users/user_handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class UserHandlers {
* @param _next
*/
@requireUserIsAdmin
async patchUserDetailsAsAdmin(request: Request, response: Response, _next: NextFunction): Promise<void> {
async patchUserDetailsAsAdmin(this: void, request: Request, response: Response, _next: NextFunction): Promise<void> {
await UserHandlers.getPatchHandler(patch_user_payload_schema)(request, response)
}

Expand Down

0 comments on commit 86f74d1

Please sign in to comment.