From 97cb9fe8f9b2a5b40319323d8159148daba8eed2 Mon Sep 17 00:00:00 2001 From: Aleksey Kashapov Date: Wed, 3 Dec 2025 12:07:37 +0300 Subject: [PATCH] Reverts party/shop params for log event meta as scalars --- apps/hellgate/src/hg_invoice.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/hellgate/src/hg_invoice.erl b/apps/hellgate/src/hg_invoice.erl index d20a5460..195f4c05 100644 --- a/apps/hellgate/src/hg_invoice.erl +++ b/apps/hellgate/src/hg_invoice.erl @@ -971,13 +971,13 @@ get_invoice_params(Invoice) -> #domain_Invoice{ id = ID, cost = ?cash(Amount, Currency), - party_ref = PartyConfigRef, - shop_ref = ShopConfigRef + party_ref = #domain_PartyConfigRef{id = PartyID}, + shop_ref = #domain_ShopConfigRef{id = ShopID} } = Invoice, [ {id, ID}, - {party_ref, PartyConfigRef}, - {shop_ref, ShopConfigRef}, + {party_id, PartyID}, + {shop_id, ShopID}, {cost, [{amount, Amount}, {currency, Currency}]} ].