Skip to content

Commit

Permalink
Merge pull request #74 from ludwigbacklund/fix-base-uri
Browse files Browse the repository at this point in the history
Fix the client base_uri option
  • Loading branch information
unicodeveloper authored Mar 7, 2024
2 parents d221667 + e861a6e commit dd4c0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/novu/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def initialize(access_token: nil, idempotency_key: nil, enable_retry: false, ret
@initial_delay = retry_config[:initial_delay]
@max_delay = retry_config[:max_delay]

self.base_uri = backend_url
self.class.base_uri(backend_url)

self.class.default_options.merge!(headers: {
"Authorization" => "ApiKey #{@access_token}",
Expand Down

0 comments on commit dd4c0b3

Please sign in to comment.