aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/space.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/fun/space.py')
-rw-r--r--bot/exts/fun/space.py2
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: