Skip to content

Commit

Permalink
misc: Explicitely define group properties for strong parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
rsempe committed Nov 30, 2023
1 parent 7b4ce23 commit e0da0a0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/controllers/api/v1/subscriptions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,13 @@ def plan_overrides
:min_amount_cents,
:invoice_display_name,
{ properties: {} },
{ group_properties: [] },
{
group_properties: [
:group_id,
{ values: {} },
:invoice_display_name,
],
},
{ tax_codes: [] },
],
},
Expand Down

0 comments on commit e0da0a0

Please sign in to comment.