Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
♻️ Use auth module-scoped constants
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Oct 29, 2020
1 parent 750eb88 commit 0857ae7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/modules/auth/jwt-auth.guard.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ExecutionContext, Injectable } from '@nestjs/common';
import { Reflector } from '@nestjs/core';
import { AuthGuard } from '@nestjs/passport';
import { STAART_PUBLIC_ENDPOINT } from 'src/app.constants';
import { STAART_PUBLIC_ENDPOINT } from './auth.constants';

@Injectable()
export class JwtAuthGuard extends AuthGuard('jwt') {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/auth/public.decorator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { STAART_PUBLIC_ENDPOINT } from 'src/app.constants';
import { STAART_PUBLIC_ENDPOINT } from './auth.constants';

export function Public() {
return (
Expand Down

0 comments on commit 0857ae7

Please sign in to comment.