From e861a6eb1444f994e8e406bfd368b5e00615e7e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludwig=20B=C3=A4cklund?= Date: Thu, 7 Mar 2024 13:46:08 +0000 Subject: [PATCH] Fix the client base_uri option --- lib/novu/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/novu/client.rb b/lib/novu/client.rb index 66e8353..18f0ca2 100644 --- a/lib/novu/client.rb +++ b/lib/novu/client.rb @@ -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}",