From c5777c0d136d9a7e3dff49650b0a27318ead033a Mon Sep 17 00:00:00 2001 From: alemidev Date: Thu, 17 Feb 2022 10:16:56 +0100 Subject: [PATCH] ops snake_case in request --- aiocraft/mc/auth/microsoft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiocraft/mc/auth/microsoft.py b/aiocraft/mc/auth/microsoft.py index 4446ef2..2bccbe8 100644 --- a/aiocraft/mc/auth/microsoft.py +++ b/aiocraft/mc/auth/microsoft.py @@ -99,7 +99,7 @@ class MicrosoftAuthenticator(AuthInterface): if code: payload['code'] = code elif self.refreshToken: - payload['refreshToken'] = self.refreshToken + payload['refresh_token'] = self.refreshToken else: raise InvalidStateError("Missing auth code and refresh token") auth_response = await self._post(