Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
ML: Changed to deconstruct strategy in for fa
Browse files Browse the repository at this point in the history
Signed-off-by: Lalith Kota <kotalalith@gmail.com>
  • Loading branch information
lalithkota committed Mar 4, 2024
1 parent 54a55dd commit a8e922d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8e922d

Please sign in to comment.