Approvers API does not work properly with form-encoded input
This affects both merge_request_approvals.rb
and project_approvals.rb
When sending an empty approver_ids
or approver_group_ids
form-encoded, grape turns the input into an array holding an empty string ([""]
), which is wrong and gets rejected when attempting to update the approvers and approver_groups.