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

Fix #19157
This commit is contained in:
Eugen Rochko 2022-11-14 06:56:15 +01:00 committed by GitHub
parent 2e2ba39abf
commit 167d86d21d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 end
def filter_params def filter_params
params.permit(*FILTER_PARAMS) params.permit(*FILTER_PARAMS, role_ids: [])
end end
def pagination_params(core_params) def pagination_params(core_params)