Skip to content

Commit c900509

Browse files
Fix argument
1 parent ad6b8b9 commit c900509

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mediux_posters/mediux/service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ class Mediux:
9696
Field(name="user_created", fields=["username"]),
9797
]
9898

99-
def __init__(self, base_url: str, api_key: str):
99+
def __init__(self, base_url: str, token: str):
100100
self.client = Client(
101101
base_url=base_url,
102102
headers={
103103
"Accept": "application/json",
104-
"Authorization": f"Bearer {api_key}",
104+
"Authorization": f"Bearer {token}",
105105
"User-Agent": f"Mediux-Posters/{__version__}/{system()}: {release()}",
106106
},
107107
)

0 commit comments

Comments
 (0)