From 05556455738ee043becb13c0c154bd38f4bdecdc Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Thu, 8 Sep 2022 23:54:50 +0200 Subject: [PATCH] Added the discord client id, secret & redirect uri as environment values to the envCheck util --- util/envCheck.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/envCheck.ts b/util/envCheck.ts index c945351..729aa56 100644 --- a/util/envCheck.ts +++ b/util/envCheck.ts @@ -2,7 +2,7 @@ import * as fs from "fs"; const envValue: string[] = [ - "MONGOOSE_STRING", "API_PORT", "SHORTENER_PORT", "CDN_PORT", "AS_PORT" + "MONGOOSE_STRING", "API_PORT", "SHORTENER_PORT", "CDN_PORT", "AS_PORT", "DC_CLIENT", "DC_SECRET", "DC_REDIRECT_URI" ] /** Checks if the provided value is registered in process.env */