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

Fix #19157
lolsob-rspec
Eugen Rochko 2022-11-14 06:56:15 +01:00 committed by GitHub
parent 12b819c78c
commit 3cc5ed3bae
1 changed files with 1 additions and 1 deletions

View File

@ -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)