Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Aug 28, 2024
1 parent 3ed8a10 commit da73e4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class GetReissueNotaFiscalForPaymentRoute(m: PerfectPayments) : RequiresAPIAuthe
m.notaFiscais?.cancelNotaFiscais(internalPayment, "Criando nova Nota Fiscal")

// And then we will reissue notas fiscais if the payment was approved
m.notaFiscais?.generateNotaFiscal(internalPayment)
m.notaFiscais?.generateNotaFiscal(internalPayment, null)

call.respondEmptyJson(HttpStatusCode.OK)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class PostFinishPartialPaymentRoute(val m: PerfectPayments) : BaseRoute("/api/v1
PaymentQuery.sendPaymentNotification(m, internalPayment)

// Generate nota fiscal
m.notaFiscais?.generateNotaFiscal(internalPayment)
m.notaFiscais?.generateNotaFiscal(internalPayment, null)

// Success!
call.respondJson(
Expand Down

0 comments on commit da73e4e

Please sign in to comment.