mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-26 17:03:45 +02:00
return key instead of keys[name]
This commit is contained in:
parent
4a19f72e75
commit
bdd42b219d
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue