Skip to content
Snippets Groups Projects
Unverified Commit 1cc9f430 authored by Kyle Doherty's avatar Kyle Doherty
Browse files

Merge branch 'xray-admin-toggle' of github.com:metabase/metabase into xray-admin-toggle

parents 7b25cb85 530f199d
No related branches found
No related tags found
No related merge requests found
......@@ -203,15 +203,4 @@
"table" "table"
"segment" "table"]])
(def ^:private Settings
{:xray-max-cost costs/MaxCostBundles
:enable-xrays s/Bool})
(api/defendpoint PUT "/settings"
"Update x-ray related settings. You must be a superuser to do this."
[:as {settings :body}]
{settings Settings}
(api/check-superuser)
(setting/set-many! settings))
(api/define-routes)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment