File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ export class Oauth2CoreModule implements OnModuleInit {
127
127
const providers : Provider [ ] = this . createAsyncProviders ( options ) ;
128
128
129
129
const userLoaderProvider = {
130
+ imports : options . imports ,
130
131
provide : 'UserLoaderInterface' ,
131
132
useFactory : async ( options ) => {
132
133
return options . userLoader ;
@@ -135,6 +136,7 @@ export class Oauth2CoreModule implements OnModuleInit {
135
136
} ;
136
137
137
138
const userValidatorProvider = {
139
+ imports : options . imports ,
138
140
provide : 'UserValidatorInterface' ,
139
141
useFactory : async ( options ) => {
140
142
return options . userValidator ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @switchit/nestjs-oauth2-server" ,
3
- "version" : " 0.1.2 " ,
3
+ "version" : " 0.1.3 " ,
4
4
"description" : " NestJS oauth2 server by SWITCH IT CONSULTING" ,
5
5
"author" : " Switch IT - Consulting" ,
6
6
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments