From 383e843b7be768575c9786c4dfd7f23de19a8304 Mon Sep 17 00:00:00 2001 From: vinit717 Date: Mon, 1 Jul 2024 21:44:13 +0530 Subject: [PATCH] fix env naming --- config/core-config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/core-config.go b/config/core-config.go index e3df1f2..67ed894 100644 --- a/config/core-config.go +++ b/config/core-config.go @@ -96,8 +96,8 @@ func loadConfig() { GoogleClientSecret = getEnvVar("GOOGLE_CLIENT_SECRET") GoogleRedirectUrl = getEnvVar("GOOGLE_REDIRECT_URL") - MaxUrlCount = getEnvInt("Max_Url_Count") - TokenExpiration = getEnvInt("TokenExpiration") + MaxUrlCount = getEnvInt("USER_MAX_URL_COUNT") + TokenExpiration = getEnvInt("TOKEN_VALIDITY_IN_SECOND") AllowedOrigin = getEnvVar("ALLOWED_ORIGINS")