Skip to content

Commit

Permalink
[REFACTOR]: fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Dec 22, 2023
1 parent a7aa75d commit ea68aec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const envVarsSchema = Joi.object()
RABBIT_PORT: Joi.string().required().description('RabbitMQ port'),
RABBIT_USER: Joi.string().required().description('RabbitMQ username'),
RABBIT_PASSWORD: Joi.string().required().description('RabbitMQ password'),
DISCROD_CLIENT_ID: Joi.string().required().description('Discord clinet id'),
DISCORD_CLIENT_ID: Joi.string().required().description('Discord clinet id'),
DISCORD_CLIENT_SECRET: Joi.string().required().description('Discord clinet secret'),
DISCORD_BOT_TOKEN: Joi.string().required().description('Discord bot token'),
SENTRY_DSN: Joi.string().required().description('Sentry DSN'),
Expand Down Expand Up @@ -44,7 +44,7 @@ export default {
url: `amqp://${envVars.RABBIT_USER}:${envVars.RABBIT_PASSWORD}@${envVars.RABBIT_HOST}:${envVars.RABBIT_PORT}`,
},
discord: {
clientId: envVars.DISCROD_CLIENT_ID,
clientId: envVars.DISCORD_CLIENT_ID,
clientSecret: envVars.DISCORD_CLIENT_SECRET,
botToken: envVars.DISCORD_BOT_TOKEN,
},
Expand Down

0 comments on commit ea68aec

Please sign in to comment.