From 37f8ed7057381956c6760f2d43ee22d9e6cc655a Mon Sep 17 00:00:00 2001 From: Aleksey Kashapov Date: Thu, 3 Aug 2023 12:40:29 +0300 Subject: [PATCH] TD-675: Fixes currency ref in limit change log metadata (#87) --- apps/hellgate/src/hg_limiter.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/hellgate/src/hg_limiter.erl b/apps/hellgate/src/hg_limiter.erl index 30fac6a..cd9823c 100644 --- a/apps/hellgate/src/hg_limiter.erl +++ b/apps/hellgate/src/hg_limiter.erl @@ -334,6 +334,6 @@ mk_limit_log_attributes(#limiter_LimitContext{ shop_id => ShopID, change => #{ amount => Amount, - currency => Currency + currency => Currency#domain_CurrencyRef.symbolic_code } }.