mirror of
https://github.com/elisiariocouto/leggen.git
synced 2025-12-13 09:02:23 +00:00
Reformat.
This commit is contained in:
@@ -57,8 +57,8 @@ class AccountEnricher:
|
||||
async def _fetch_institution_logo(self, institution_id: str) -> str | None:
|
||||
"""Fetch institution logo from GoCardless API."""
|
||||
try:
|
||||
institution_details = (
|
||||
await self.gocardless.get_institution_details(institution_id)
|
||||
institution_details = await self.gocardless.get_institution_details(
|
||||
institution_id
|
||||
)
|
||||
logo = institution_details.get("logo", "")
|
||||
if logo:
|
||||
|
||||
@@ -109,10 +109,8 @@ class SyncService:
|
||||
)
|
||||
|
||||
# Merge account metadata into balances for persistence
|
||||
balances_with_account_info = (
|
||||
self.balance_transformer.merge_account_metadata_into_balances(
|
||||
balances, enriched_account_details
|
||||
)
|
||||
balances_with_account_info = self.balance_transformer.merge_account_metadata_into_balances(
|
||||
balances, enriched_account_details
|
||||
)
|
||||
await self.database.persist_balance(
|
||||
account_id, balances_with_account_info
|
||||
|
||||
Reference in New Issue
Block a user