kopia lustrzana https://github.com/bugout-dev/moonstream
Changed labele name for cmc parser
rodzic
977756549d
commit
fcdd501261
|
@ -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)
|
||||||
|
|
Ładowanie…
Reference in New Issue