From a8e922db8f7ad5a74f2c06383da3b4b2b70b6670 Mon Sep 17 00:00:00 2001 From: Lalith Kota Date: Mon, 4 Mar 2024 16:43:45 +0300 Subject: [PATCH] ML: Changed to deconstruct strategy in for fa Signed-off-by: Lalith Kota --- .../spar_mojaloop_als_oracle/services/als_oracle_service.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spar-mojaloop-als-oracle/src/spar_mojaloop_als_oracle/services/als_oracle_service.py b/spar-mojaloop-als-oracle/src/spar_mojaloop_als_oracle/services/als_oracle_service.py index 57d6193..bb81134 100644 --- a/spar-mojaloop-als-oracle/src/spar_mojaloop_als_oracle/services/als_oracle_service.py +++ b/spar-mojaloop-als-oracle/src/spar_mojaloop_als_oracle/services/als_oracle_service.py @@ -76,7 +76,9 @@ async def get_participants(self, type: str, id: str): strategy: FaConstructStrategy = await FaConstructStrategy.get_by_id( dfsp_prov.strategy_id ) - res = self.construct_service.deconstruct(response, strategy.strategy) + res = self.construct_service.deconstruct( + response, strategy.deconstruct_strategy + ) if res and dfsp_prov.code in [i.value for i in res]: dfsp_id = dfsp_prov.code break