Skip to content

Commit 07c1dc0

Browse files
authored
Reverting to previous state (pun intended)
1 parent f032549 commit 07c1dc0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cms_bluebutton/auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def generate_auth_data() -> dict:
109109
return auth_data
110110

111111

112-
def get_access_token_from_code(bb, auth_data, callback_code, callback_state) -> dict:
112+
def get_access_token_from_code(bb, auth_data, callback_code) -> dict:
113113
data = {
114114
"client_id": bb.client_id,
115115
"client_secret": bb.client_secret,
@@ -139,7 +139,7 @@ def get_authorization_token(bb, auth_data, callback_code, callback_state):
139139
if callback_state != auth_data["state"]:
140140
raise ValueError("Provided callback state does not match.")
141141

142-
return AuthorizationToken(get_access_token_from_code(bb, auth_data, callback_code, callback_state))
142+
return AuthorizationToken(get_access_token_from_code(bb, auth_data, callback_code))
143143

144144

145145
def _do_post(data, bb, auth):

0 commit comments

Comments
 (0)