Skip to content
Snippets Groups Projects
Commit 613eaa9e authored by Alexey Lunin's avatar Alexey Lunin
Browse files

OP#244 fix missed auth config

parent 0d9fe93d
No related branches found
No related tags found
1 merge request!84refactor: refactor environment variables and applications OP#244
Pipeline #71277 waiting for manual action
......@@ -5,6 +5,7 @@ import { ConfigModule } from "@nestjs/config";
import {
agentConfig,
agentSchema,
authConfig,
authSchema,
ledgersConfig,
ledgersSchema,
......@@ -22,7 +23,7 @@ const validationSchema = Joi.object({
AskarDynamicModule.forRootAsync(),
ConfigModule.forRoot({
isGlobal: true,
load: [agentConfig, ledgersConfig],
load: [agentConfig, authConfig, ledgersConfig],
validationSchema,
}),
],
......
......@@ -5,6 +5,7 @@ import { ConfigModule } from "@nestjs/config";
import {
agentConfig,
agentSchema,
authConfig,
authSchema,
ledgersConfig,
ledgersSchema,
......@@ -26,7 +27,7 @@ const validationSchema = Joi.object({
AskarDynamicModule.forRootAsync(),
ConfigModule.forRoot({
isGlobal: true,
load: [agentConfig, ledgersConfig, hinConfig],
load: [agentConfig, authConfig, ledgersConfig, hinConfig],
validationSchema,
}),
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment