Skip to content

Commit

Permalink
deprecated apikey
Browse files Browse the repository at this point in the history
  • Loading branch information
jrCleber committed Aug 14, 2023
1 parent 74ab771 commit 10fad51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/whatsapp/guards/auth.guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ async function jwtGuard(req: Request, _: Response, next: NextFunction) {
}
}

/**
* @deprecated
*/
async function apikey(req: Request, _: Response, next: NextFunction) {
const env = configService.get<Auth>('AUTHENTICATION').API_KEY;
const key = req.get('apikey');
Expand Down

0 comments on commit 10fad51

Please sign in to comment.