Skip to content

Commit 17dec56

Browse files
committed
Update oauth2.py
1 parent 6f75131 commit 17dec56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msal/oauth2cli/oauth2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def initiate_device_flow(self, scope=None, *, data=None, **kwargs):
327327
if isinstance(data, dict):
328328
_data.update(data)
329329
resp = self._http_client.post(self.configuration[DAE],
330-
data=data,
330+
data=_data,
331331
headers=dict(self.default_headers, **kwargs.pop("headers", {})),
332332
**kwargs)
333333
flow = json.loads(resp.text)

0 commit comments

Comments
 (0)