From c30d2059d740e546eec52b52d2787f328f27efef Mon Sep 17 00:00:00 2001 From: rijkvanzanten Date: Wed, 2 Dec 2020 15:29:57 -0500 Subject: [PATCH] Remove key/secret check --- api/src/cli/commands/bootstrap/index.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/api/src/cli/commands/bootstrap/index.ts b/api/src/cli/commands/bootstrap/index.ts index e468089032..366cbb6ffb 100644 --- a/api/src/cli/commands/bootstrap/index.ts +++ b/api/src/cli/commands/bootstrap/index.ts @@ -7,16 +7,6 @@ import { nanoid } from 'nanoid'; export default async function bootstrap() { logger.info('Initializing bootstrap...'); - if (!('KEY' in env) || env.KEY == '') { - logger.error('Missing KEY environment variable.'); - process.exit(1); - } - - if (!('SECRET' in env) || env.SECRET == '') { - logger.error('Missing SECRET environment variable.'); - process.exit(1); - } - if ((await isDatabaseAvailable()) === false) { logger.error(`Can't connect to the database`); process.exit(1);