diff --git a/lib/plausible_web/controllers/debug_controller.ex b/lib/plausible_web/controllers/debug_controller.ex index 1dcf5fbddf..7b807816e1 100644 --- a/lib/plausible_web/controllers/debug_controller.ex +++ b/lib/plausible_web/controllers/debug_controller.ex @@ -65,7 +65,7 @@ defmodule PlausibleWeb.DebugController do where( q, [l], - fragment("JSONExtractInt(?, \'site_domain\') = ?", l.log_comment, ^site_domain) + fragment("JSONExtractString(?, \'site_domain\') = ?", l.log_comment, ^site_domain) ) defp filter_by_params(q, conn, _),