From ea68aec566c974ad8e5616bf4711380133f01327 Mon Sep 17 00:00:00 2001 From: Behzad Rabiei <53224485+Behzad-rabiei@users.noreply.github.com> Date: Fri, 22 Dec 2023 13:09:49 +0330 Subject: [PATCH] [REFACTOR]: fix naming --- src/config/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/index.ts b/src/config/index.ts index 0168e183..ace3287e 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -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'), @@ -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, },