diff --git a/lib/plausible/ingestion/event.ex b/lib/plausible/ingestion/event.ex index c6d698f90..90d9fb395 100644 --- a/lib/plausible/ingestion/event.ex +++ b/lib/plausible/ingestion/event.ex @@ -372,7 +372,7 @@ defmodule Plausible.Ingestion.Event do %Device{type: t} when t in @desktop_types -> "Desktop" - %Device{type: "unknown"} -> + %Device{type: :unknown} -> nil %Device{type: type} ->