Commit aa00c561 authored by nanahira's avatar nanahira

fix

parent c8a3390e
Pipeline #14531 failed with stages
in 33 seconds
......@@ -12,7 +12,6 @@ import { TypeOrmModule } from '@nestjs/typeorm';
isGlobal: true,
}),
TypeOrmModule.forRootAsync({
imports: [ConfigModule],
inject: [ConfigService],
useFactory: async (config: ConfigService) => ({
type: 'postgres',
......
......@@ -8,6 +8,7 @@ import { loadConfig } from './utility/config';
imports: [
ConfigModule.forRoot({
load: [loadConfig],
isGlobal: true,
}),
],
controllers: [AppController],
......
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