Skip to content

Commit 0e3a6cc

Browse files
authored
Merge pull request #34 from GearPlug/fix/pagination
Fix/pagination
2 parents e45bd37 + 2a4ec0b commit 0e3a6cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

microsoftgraph/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def _paginate_response(self, response: Response) -> Response:
208208
Returns:
209209
Response: Graph API Response.
210210
"""
211-
if not isinstance(response.data, dict):
211+
if not isinstance(response.data, dict) or "value" not in response.data:
212212
return response
213213

214214
# Copy data to avoid side effects

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def read(fname):
88

99
setup(
1010
name="microsoftgraph-python",
11-
version="1.1.2",
11+
version="1.1.3",
1212
description="API wrapper for Microsoft Graph written in Python",
1313
long_description=read("README.md"),
1414
url="https://github.com/GearPlug/microsoftgraph-python",

0 commit comments

Comments
 (0)