Skip to content

Commit 11dd0a9

Browse files
committed
Fixes inability to navigate json bundle links.
1 parent 6677cfa commit 11dd0a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fhir_client/sections/feed.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def next_page(current, page = FORWARD)
1010
bundle = current.resource
1111
link = bundle.method(page).call
1212
return nil unless link
13-
reply = get strip_base(link.url), fhir_headers
13+
reply = get strip_base(link.url), fhir_headers(format: @default_format)
1414
reply.resource = parse_reply(current.resource_class, @default_format, reply)
1515
reply.resource_class = current.resource_class
1616
reply

0 commit comments

Comments
 (0)