diff --git a/src/metabase/api/query.clj b/src/metabase/api/query.clj index 718c0c605c434908508a7ba917c1056b1035f286..7ad4a80e1281a2c52e3db5e1ae02aa2204b1e03d 100644 --- a/src/metabase/api/query.clj +++ b/src/metabase/api/query.clj @@ -24,6 +24,7 @@ (defendpoint GET "/" [org f] + (require-params org) (check-403 ((:perms-for-org @*current-user*) org)) (-> (case (or (keyword f) :all) ; default value for `f` is `:all` :all (sel :many Query