Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gallagher/cc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,12 +541,12 @@ async def follow(
# send this back to the caller
yield parsed_obj

if not parsed_obj.next:
if not parsed_obj.updates:
return

# set the url to the next follow and we should
# be able to follow this endlessly
url = f"{parsed_obj.next.href}"
url = f"{parsed_obj.updates.href}"

elif response.status_code == HTTPStatus.NOT_FOUND:
raise NotFoundException()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "gallagher"
version = "1.0.0a16"
version = "1.0.0a17"
description = "The missing developer toolkit for Gallagher Command Centre"
authors = [{ name = "Anomaly", email = "oss@anomaly.ltd" }]
license = { text = "MIT" }
Expand Down
Loading
Loading