diff --git a/lib/logflare/backends/adaptor/webhook_adaptor.ex b/lib/logflare/backends/adaptor/webhook_adaptor.ex index 7b481515f..1f5ae3116 100644 --- a/lib/logflare/backends/adaptor/webhook_adaptor.ex +++ b/lib/logflare/backends/adaptor/webhook_adaptor.ex @@ -152,8 +152,10 @@ defmodule Logflare.Backends.Adaptor.WebhookAdaptor do messages end - defp process_data(payload, context) do - %{config: config} = Backends.Cache.get_backend(context.backend_id) + defp process_data(payload, %{startup_config: startup_config} = context) do + %{config: stored_config} = Backends.Cache.get_backend(context.backend_id) + + config = Map.merge(startup_config, stored_config) Client.send( url: config.url,