Skip to content

Commit e686d14

Browse files
Update authentication.md
1 parent eb37921 commit e686d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ When implementing a strategy, you can provide a name for it by passing a second
915915
export class JwtStrategy extends PassportStrategy(Strategy, 'myjwt')
916916
```
917917
918-
Then, you refer to this via a decorator like `@AuthGuard('myjwt')`.
918+
Then, you refer to this via a decorator like `@UseGuards(AuthGuard('myjwt'))`.
919919
920920
#### GraphQL
921921

0 commit comments

Comments
 (0)