Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
🐛 Fix auth handler bug in location
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed May 31, 2019
1 parent 3bd22e8 commit e2cc59f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/controllers/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ export class AuthController {
}

@Post("approve-location")
@Middleware(authHandler)
async getApproveLocation(req: Request, res: Response) {
const token = req.body.token || req.params.token;
joiValidate({ token: Joi.string().required() }, { token });
Expand Down

0 comments on commit e2cc59f

Please sign in to comment.