Skip to content

Commit

Permalink
yarn lock upgrade and type declaration in auth
Browse files Browse the repository at this point in the history
  • Loading branch information
etweisberg committed Jul 8, 2024
1 parent 2ad4582 commit 3d4b09a
Show file tree
Hide file tree
Showing 2 changed files with 6,191 additions and 4,616 deletions.
4 changes: 2 additions & 2 deletions server/src/controllers/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ const login = async (
failureMessage: true,
},
// Callback function defined by passport strategy in configPassport.ts
// eslint-disable-next-line @typescript-eslint/no-unused-vars
(err, user, info) => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any
(err: Error, user: IUser | undefined, info: any) => {
if (err) {
next(ApiError.internal('Failed to authenticate user.'));
return;
Expand Down
Loading

0 comments on commit 3d4b09a

Please sign in to comment.