Skip to content

Commit ae69c97

Browse files
committed
fix(module): make module global
1 parent f6e4aa3 commit ae69c97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/module.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
import { DynamicModule, Module, Provider } from '@nestjs/common'
1+
import { DynamicModule, Module, Provider, Global } from '@nestjs/common'
22
import { KEYCLOAK_ADMIN_OPTIONS } from './constants'
33
import { KeycloakService } from './service'
44
import { KeycloakModuleOptions, KeycloakModuleAsyncOptions } from './@types/package'
55

6+
@Global()
67
@Module({
78
providers: [KeycloakService],
89
exports: [KeycloakService],

0 commit comments

Comments
 (0)