From 7be211f8b7b26f7f620df81af4ebde5eec2feec2 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Sat, 13 Feb 2021 16:14:08 +0100 Subject: [PATCH] Fixed bug ref #26 --- src/config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.ts b/src/config.ts index ad886d7..e7da417 100644 --- a/src/config.ts +++ b/src/config.ts @@ -47,5 +47,6 @@ function getApiKey(): string { consola.error(`API key is too short - minimum: 64, current: ${key.length}`) throw new Error("API_KEY too short.") } + return key } export let e = errors \ No newline at end of file