Skip to content

Commit

Permalink
return old behavior not alternating spec
Browse files Browse the repository at this point in the history
  • Loading branch information
annvelents committed Dec 18, 2024
1 parent 37f13ca commit bf109f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/services/invoices/refresh_draft_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ def call
refresh: true
).raise_if_error!

invoice = Invoice.includes(invoice_subscriptions: :subscription).find(result.invoice.id)
calculate_result = Invoices::CalculateFeesService.call(
invoice: invoice,
invoice: invoice.reload,
recurring:,
context:
)
Expand Down

0 comments on commit bf109f7

Please sign in to comment.