From 9878c83d7a4396a39b46ee05633f21a41fa5a44f Mon Sep 17 00:00:00 2001 From: Anna Velentsevich Date: Tue, 14 Jan 2025 16:50:16 +0100 Subject: [PATCH] delete not needed lines --- lib/lago/api/resources/customer.rb | 2 +- spec/fixtures/api/invoice.json | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/lago/api/resources/customer.rb b/lib/lago/api/resources/customer.rb index 46735a2..e448228 100644 --- a/lib/lago/api/resources/customer.rb +++ b/lib/lago/api/resources/customer.rb @@ -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| diff --git a/spec/fixtures/api/invoice.json b/spec/fixtures/api/invoice.json index e5aa132..17f110b 100644 --- a/spec/fixtures/api/invoice.json +++ b/spec/fixtures/api/invoice.json @@ -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",