Skip to content

Commit

Permalink
misc: Force external_subscription_id when estimating fees
Browse files Browse the repository at this point in the history
  • Loading branch information
rsempe committed Jul 11, 2024
1 parent 24d31cd commit 342b02c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/lago/api/resources/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def whitelist_estimate_params(params)
{
root_name => {
code: params[:code],
external_customer_id: params[:external_customer_id],
external_subscription_id: params[:external_subscription_id],
properties: params[:properties],
}.compact,
Expand Down
1 change: 0 additions & 1 deletion spec/factories/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
end

factory :estimate_fees_event, class: OpenStruct do
external_customer_id { '5eb02857-a71e-4ea2-bcf9-57d8885990ba' }
external_subscription_id { '5eb02857-a71e-4ea2-bcf9-57d8885990ba' }
code { '123' }
properties do
Expand Down

0 comments on commit 342b02c

Please sign in to comment.