get_members_capital_at_date : instead of None, which is not iterable, return dic…

get_members_capital_at_date : instead of None, which is not iterable, return dic with key error in case of failure
2 jobs from migration-v12 in 44 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Test
failed #7555
lint:js

00:16

passed #7556
unit:django

00:28

 
Test lint:js
npm ERR! 
npm ERR! Failed at the third-party@1.0.0 lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2024-09-24T12_12_43_702Z-debug.log
make: *** [Makefile:9: lint-js] Error 1
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1