Skip to content

Commit

Permalink
remove block for now
Browse files Browse the repository at this point in the history
  • Loading branch information
haukot committed Jun 7, 2023
1 parent c08d4c1 commit 8058303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ecwid_api/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def paginate_get(path, options = {})
limit: limit,
offset: (current_page - 1) * limit
)
result = raise_on_failure connection.get(path, request_options, &block)
result = raise_on_failure connection.get(path, request_options)
pages_count = (result[:total] / request_options[:limit].to_f).ceil

[result, current_page, pages_count]
Expand Down

0 comments on commit 8058303

Please sign in to comment.