We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad6b8b9 commit c900509Copy full SHA for c900509
1 file changed
mediux_posters/mediux/service.py
@@ -96,12 +96,12 @@ class Mediux:
96
Field(name="user_created", fields=["username"]),
97
]
98
99
- def __init__(self, base_url: str, api_key: str):
+ def __init__(self, base_url: str, token: str):
100
self.client = Client(
101
base_url=base_url,
102
headers={
103
"Accept": "application/json",
104
- "Authorization": f"Bearer {api_key}",
+ "Authorization": f"Bearer {token}",
105
"User-Agent": f"Mediux-Posters/{__version__}/{system()}: {release()}",
106
},
107
)
0 commit comments