Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Fix deprecation warnings (#6721)

Cenk Kücükda81060b508c
diff --git a/lib/plausible/ingestion/persistor/remote.ex b/lib/plausible/ingestion/persistor/remote.ex
index afddbe6821..7f83a71f73 100644
--- a/lib/plausible/ingestion/persistor/remote.ex
+++ b/lib/plausible/ingestion/persistor/remote.ex
@@ -68,7 +68,7 @@ defmodule Plausible.Ingestion.Persistor.Remote do
%{attributes: persistor_span_attributes(headers)} do
result =
Req.new(
- finch: Plausible.Finch,
+ finch: [name: Plausible.Finch],
body: encode_payload(event, session_attrs),
headers: headers,
retry: &handle_transient_error/2,