Skip to content

Commit 10fad51

Browse files
committed
deprecated apikey
1 parent 74ab771 commit 10fad51

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/whatsapp/guards/auth.guard.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ async function jwtGuard(req: Request, _: Response, next: NextFunction) {
9999
}
100100
}
101101

102+
/**
103+
* @deprecated
104+
*/
102105
async function apikey(req: Request, _: Response, next: NextFunction) {
103106
const env = configService.get<Auth>('AUTHENTICATION').API_KEY;
104107
const key = req.get('apikey');

0 commit comments

Comments
 (0)