Sven Czarnian пре 2 година
родитељ
комит
1d7f9e7e5a
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      src/auth/guards/jwt.guard.ts

+ 5 - 0
src/auth/guards/jwt.guard.ts

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