issues
search
BoostryJP
/
ibet-Wallet-API
A powerful API suite for seamlessly building ibet blockchain wallet systems 🛠
https://ibet.jp/ibet-for-fin
Apache License 2.0
9
stars
0
forks
source link
[BUG] empty value is not set to company attribute when `COMPANY_LIST_LOCAL_MODE` is enabled
#1326
Closed
purplesmoke05
closed
1 year ago
purplesmoke05
commented
1 year ago
Describe the bug
In current implementation, company data attribute could be
null
because it doesn’t replaced empty value when company_list.json is loaded.
(When
CURRENT_LIST_LOCAL_MODE
is disabled,
null
value is replaced by empty string in indexer batch process.)
https://github.com/BoostryJP/ibet-Wallet-API/blob/1e778aa98bdab719f86dca95377af128209a931e/batch/indexer_CompanyList.py#L76-L79
It doesn’t match response schema.
Expected behavior
Set empty value to company attribute when
COMPANY_LIST_LOCAL_MODE
is enabled
Describe the bug
null
because it doesn’t replaced empty value when company_list.json is loaded.CURRENT_LIST_LOCAL_MODE
is disabled,null
value is replaced by empty string in indexer batch process.)Expected behavior
COMPANY_LIST_LOCAL_MODE
is enabled