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

Commit 0857ae7

Browse files
♻️ Use auth module-scoped constants
1 parent 750eb88 commit 0857ae7

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

β€Žsrc/modules/auth/jwt-auth.guard.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ExecutionContext, Injectable } from '@nestjs/common';
22
import { Reflector } from '@nestjs/core';
33
import { AuthGuard } from '@nestjs/passport';
4-
import { STAART_PUBLIC_ENDPOINT } from 'src/app.constants';
4+
import { STAART_PUBLIC_ENDPOINT } from './auth.constants';
55

66
@Injectable()
77
export class JwtAuthGuard extends AuthGuard('jwt') {

β€Žsrc/modules/auth/public.decorator.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { STAART_PUBLIC_ENDPOINT } from 'src/app.constants';
1+
import { STAART_PUBLIC_ENDPOINT } from './auth.constants';
22

33
export function Public() {
44
return (

0 commit comments

Comments
Β (0)