Skip to content

Commit f4aaa5b

Browse files
committed
Update authorize_site_access.ex
1 parent a313ce4 commit f4aaa5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/plausible_web/plugs/authorize_site_access.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ defmodule PlausibleWeb.AuthorizeSiteAccess do
77
def init(opts), do: opts
88

99
def call(conn, _opts) do
10-
user = Plausible.Site |> limit(1) |> Repo.one()
10+
site = Plausible.Site |> limit(1) |> Repo.one()
1111

1212
merge_assigns(conn, site: site, current_user_role: :owner)
1313
end

0 commit comments

Comments
 (0)