We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5429433 commit 62d9c57Copy full SHA for 62d9c57
smartglass_api.py
@@ -36,17 +36,14 @@ def __init__(
36
37
async def fetch_operation_status(
38
self,
39
- operation_id: Union[str, list],
+ operation_id: str,
40
device_id: str
41
) -> OperationStatusResponse:
42
- op_ids = operation_id if type(operation_id) == str else \
43
- ','.join(operation_id),
44
-
45
url = f'https://xccs.xboxlive.com/opStatus'
46
headers = {
47
'MS-CV': self.cv.increment(),
48
'x-xbl-contract-version': '3',
49
- 'x-xbl-opId': op_ids,
+ 'x-xbl-opId': operation_id,
50
'x-xbl-deviceId': device_id
51
}
52
request = self.session.build_request('GET', url, headers=headers)
0 commit comments