Fix linting errors
This commit is contained in:
@@ -33,7 +33,7 @@ export class Github {
|
||||
|
||||
@Get('callback')
|
||||
@CatchAsync
|
||||
public async callback(req: Request, res: Response, next: NextFunction) {
|
||||
public async callback(req: Request, res: Response, _next: NextFunction) {
|
||||
if (!GITHUB_OAUTH_ENABLED) {
|
||||
return res.status(404).json({error: 'GitHub OAuth is not configured'});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user