Skip to content

Commit

Permalink
delete not needed lines
Browse files Browse the repository at this point in the history
  • Loading branch information
annvelents committed Jan 14, 2025
1 parent dd7228c commit 9878c83
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion lib/lago/api/resources/customer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def whitelist_params(params)
invoice_custom_section_codes: params[:invoice_custom_section_codes],
timezone: params[:timezone],
finalize_zero_amount_invoice: params[:finalize_zero_amount_invoice],
skip_invoice_custom_sections: params[:skip_invoice_custom_sections ],
skip_invoice_custom_sections: params[:skip_invoice_custom_sections],
}

whitelist_billing_configuration(params[:billing_configuration]).tap do |config|
Expand Down
5 changes: 0 additions & 5 deletions spec/fixtures/api/invoice.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@
],
"applied_invoice_custom_sections": [
{

code: model.code,
details: model.details,
display_name: model.display_name,
created_at: model.created_at.iso8601,
"lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"lago_invoice_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"code": "ics_code",
Expand Down

0 comments on commit 9878c83

Please sign in to comment.