Skip to content

Commit

Permalink
Fix debug controller domain filtering (#4858)
Browse files Browse the repository at this point in the history
  • Loading branch information
macobo authored Nov 26, 2024
1 parent 2112fee commit 7f4c2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plausible_web/controllers/debug_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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, _),
Expand Down

0 comments on commit 7f4c2b6

Please sign in to comment.