omnia-eats-api / src /auth /auth.module.ts
github-actions
Deploy 337691f from ilyasdaoudrma/omnia
b26189e
Raw History Blame Contribute Delete
457 Bytes
import { Global, Module } from '@nestjs/common';
import { ClerkService } from './clerk.service';
import { AuthGuard } from './auth.guard';
import { OptionalAuthGuard } from './optional-auth.guard';
import { UsersModule } from '../users/users.module';
@Global()
@Module({
imports: [UsersModule],
providers: [ClerkService, AuthGuard, OptionalAuthGuard],
exports: [ClerkService, AuthGuard, OptionalAuthGuard, UsersModule],
})
export class AuthModule {}