diff --git a/README.md b/README.md index f291c2f..df6b1e6 100644 --- a/README.md +++ b/README.md @@ -172,4 +172,4 @@ Some of the node modules that we depend on have bugs in them. To add a patch, ch Year = {2023}, url={https://github.com/kolbytn/mindcraft} } -``` +``` \ No newline at end of file diff --git a/src/utils/keys.js b/src/utils/keys.js index 745ae6c..af77c4d 100644 --- a/src/utils/keys.js +++ b/src/utils/keys.js @@ -16,7 +16,7 @@ export function getKey(name) { if (!key) { throw new Error(`API key "${name}" not found in keys.json or environment variables!`); } - return keys[name]; + return key; } export function hasKey(name) {