Skip to content

Commit 2ebb3f7

Browse files
committed
correct do_fetch method
1 parent c69bec2 commit 2ebb3f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/optimizely/cmab/cmab_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def _do_fetch_with_retry(url, request_body, retry_config, timeout)
156156
attempt = 0
157157
backoff = @retry_config.retry_delay
158158
begin
159-
return _do_fetch(...)
159+
return _do_fetch(url, request_body, timeout)
160160
rescue => e
161161
if attempt < @retry_config.max_retries
162162
@logger.log(Logger::INFO, "Retrying CMAB request (attempt #{attempt + 1}) after #{backoff} seconds...")

0 commit comments

Comments
 (0)