mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-11 07:38:49 +00:00
convert project from microservices to rest apis
This commit is contained in:
@ -19,7 +19,7 @@ import { UserOtpEntity } from '../modules/user-otp/entities';
|
||||
username: configService.get('DB_USER'),
|
||||
password: configService.get('DB_PASSWORD'),
|
||||
database: configService.get('DB_NAME'),
|
||||
entities: [UserEntity, UserSessionEntity,UserOtpEntity],
|
||||
entities: [UserEntity, UserSessionEntity, UserOtpEntity],
|
||||
namingStrategy: new SnakeNamingStrategy(),
|
||||
synchronize: Boolean(JSON.parse(configService.get('DB_SYNC'))),
|
||||
logging: true,
|
||||
@ -32,7 +32,6 @@ import { UserOtpEntity } from '../modules/user-otp/entities';
|
||||
},
|
||||
continuationLocalStorage: true,
|
||||
ssl: Boolean(JSON.parse(configService.get('DB_SSL'))),
|
||||
|
||||
}),
|
||||
}),
|
||||
],
|
||||
|
Reference in New Issue
Block a user