Skip to content

Commit

Permalink
Allow Engine to view complex match events (#565)
Browse files Browse the repository at this point in the history
L-e-x-o-n authored Feb 1, 2025
1 parent e1efded commit af04a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/teiserver/telemetry/schemas/complex_match_event.ex
Original file line number Diff line number Diff line change
@@ -23,5 +23,5 @@ defmodule Teiserver.Telemetry.ComplexMatchEvent do
end

@spec authorize(atom, Plug.Conn.t(), map()) :: boolean
def authorize(_action, conn, _params), do: allow?(conn, "Server")
def authorize(_action, conn, _params), do: allow?(conn, "Engine")
end

0 comments on commit af04a30

Please sign in to comment.