Commit 67c38b67 authored by nanahira's avatar nanahira

Update src/app.module.ts

parent 7e9913c0
Pipeline #38231 passed with stages
in 4 minutes and 41 seconds
......@@ -22,7 +22,12 @@ import { HttpModule } from '@nestjs/axios';
@Module({
imports: [
{
...MycardAuthModule.register(),
...MycardAuthModule.registerAsync({
inject: [ConfigService],
useFactory: async (config: ConfigService) => ({
accountUrl: config.get('ACCOUNT_ENDPOINT')
}),
}),
global: true,
},
ConfigModule.forRoot({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment