From c34e625b5fafe256e91c7aeee5eae9dbecf9f29c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D0=B5=D0=BC?= Date: Thu, 2 Jul 2026 13:14:42 +0300 Subject: [PATCH] fixed --- apps/hellgate/src/hg_invoice.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/hellgate/src/hg_invoice.erl b/apps/hellgate/src/hg_invoice.erl index 0ef6f3fc..2e88c569 100644 --- a/apps/hellgate/src/hg_invoice.erl +++ b/apps/hellgate/src/hg_invoice.erl @@ -303,9 +303,11 @@ namespace() -> init(Invoice, _Machine) -> UnmarshalledInvoice = unmarshal_invoice(Invoice), Changes = [?invoice_created(UnmarshalledInvoice)], + St = #st{invoice = UnmarshalledInvoice}, + _ = log_changes(Changes, St), #{ events => [Changes], - action => set_invoice_timer(idle, #st{invoice = UnmarshalledInvoice}), + action => set_invoice_timer(idle, St), auxst => #{} }.