From 3f9ca35d58ad7cfbc633f0f1aebb066223c3edbc Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Wed, 16 Aug 2023 10:40:21 +0300 Subject: [PATCH] Actually ignore unkown device type (#3267) --- lib/plausible/ingestion/event.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} ->