Changed labele name for cmc parser

pull/107/head
kompotkot 2021-08-16 15:19:11 +00:00
rodzic 977756549d
commit fcdd501261
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -74,12 +74,11 @@ def identities_cmc_add_handler(args: argparse.Namespace) -> None:
) )
db_session.add(eth_token) db_session.add(eth_token)
eth_token_label = EthereumLabel( eth_token_label = EthereumLabel(
label="token", label="coinmarketcap_token",
address_id=eth_token_id, address_id=eth_token_id,
label_data={ label_data={
"name": coin["name"], "name": coin["name"],
"symbol": coin["symbol"], "symbol": coin["symbol"],
"source": "coinmarketcap",
}, },
) )
db_session.add(eth_token_label) db_session.add(eth_token_label)