read FF status per user, not only global (#3185)

pull/3186/head
RobertJoonas 3 years ago committed by GitHub
parent 51cad4c0ec
commit 37b33d1dbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -149,7 +149,7 @@ defmodule PlausibleWeb.StatsController do
}
csvs =
if FunWithFlags.enabled?(:props) do
if FunWithFlags.enabled?(:props, for: conn.assigns[:current_user]) do
Map.put(csvs, 'custom_props.csv', fn ->
Api.StatsController.all_custom_prop_values(conn, params)
end)

Loading…
Cancel
Save