diff options
author | 2023-05-06 13:36:52 +0100 | |
---|---|---|
committer | 2023-05-06 13:36:52 +0100 | |
commit | e2d0c268732ab6998a90028be9ecd1f8efcce7d8 (patch) | |
tree | ea0fc0176f18331756c19d110ee6edf4e5100898 /bot/exts/fun/space.py | |
parent | Bump pre-commit from 3.3.0 to 3.3.1 (#1263) (diff) | |
parent | bump bot-core to 9.6.0 (diff) |
Merge pull request #1260 from shtlrs/pedantic-configuration
Use pydantic for configuration management
Diffstat (limited to 'bot/exts/fun/space.py')
-rw-r--r-- | bot/exts/fun/space.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/fun/space.py b/bot/exts/fun/space.py index 22a89050..c688b281 100644 --- a/bot/exts/fun/space.py +++ b/bot/exts/fun/space.py @@ -210,7 +210,7 @@ class Space(Cog): """Fetch information from NASA API, return result.""" params = {} if use_api_key: - params["api_key"] = Tokens.nasa + params["api_key"] = Tokens.nasa.get_secret_value() # Add additional parameters to request parameters only when they provided by user if additional_params is not None: |