ops snake_case in request

This commit is contained in:
əlemi 2022-02-17 10:16:56 +01:00
parent f6f55d4c17
commit c5777c0d13
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E

View file

@ -99,7 +99,7 @@ class MicrosoftAuthenticator(AuthInterface):
if code: if code:
payload['code'] = code payload['code'] = code
elif self.refreshToken: elif self.refreshToken:
payload['refreshToken'] = self.refreshToken payload['refresh_token'] = self.refreshToken
else: else:
raise InvalidStateError("Missing auth code and refresh token") raise InvalidStateError("Missing auth code and refresh token")
auth_response = await self._post( auth_response = await self._post(