Fix `role_ids` not accepting arrays in admin API (#20625)

Fix #19157
main
Eugen Rochko 2 years ago committed by GitHub
parent 2e2ba39abf
commit 167d86d21d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,7 +33,7 @@ class Api::V2::Admin::AccountsController < Api::V1::Admin::AccountsController
end
def filter_params
params.permit(*FILTER_PARAMS)
params.permit(*FILTER_PARAMS, role_ids: [])
end
def pagination_params(core_params)

Loading…
Cancel
Save