introduce the jwt-guard

Tento commit je obsažen v:
Sven Czarnian
2022-11-03 01:09:30 +01:00
rodič 0827ccd1b1
revize 1d7f9e7e5a

5
src/auth/guards/jwt.guard.ts Normální soubor
Zobrazit soubor

@@ -0,0 +1,5 @@
import { Injectable } from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport';
@Injectable()
export class JwtGuard extends AuthGuard('jwt') {}