Clear aggregator accounts before fetching
This commit is contained in:
parent
f096a8e839
commit
4fde670b52
|
@ -21,6 +21,8 @@ async def aggregator_job():
|
|||
if aggregator.service == "nordigen":
|
||||
instance = await NordigenClient(aggregator)
|
||||
if aggregator.fetch_accounts is True:
|
||||
aggregator.account_info = {}
|
||||
aggregator.save()
|
||||
await instance.get_all_account_info(store=True)
|
||||
|
||||
fetch_tasks = []
|
||||
|
|
Loading…
Reference in New Issue