MOONSTREAM_HUMBUG_TOKEN -> NFT_HUMBUG_TOKEN

pull/263/head
yhtiyar 2021-09-23 13:08:06 +03:00
rodzic 711319fbad
commit 54ebdd922b
2 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -32,7 +32,7 @@ from ..publish import publish_json
from ..settings import (
MOONSTREAM_IPC_PATH,
MOONSTREAM_ADMIN_ACCESS_TOKEN,
MOONSTREAM_HUMBUG_TOKEN,
NFT_HUMBUG_TOKEN,
MOONSTREAM_DATA_JOURNAL_ID,
)
from ..version import MOONCRAWL_VERSION
@ -227,7 +227,7 @@ def ethereum_label_handler(args: argparse.Namespace) -> None:
def push_summary(result: Dict[str, Any], humbug_token: Optional[str] = None):
if humbug_token is None:
humbug_token = MOONSTREAM_HUMBUG_TOKEN
humbug_token = NFT_HUMBUG_TOKEN
title = (
f"NFT activity on the Ethereum blockchain: crawled at: {result['crawled_at'] })"
)

Wyświetl plik

@ -8,4 +8,5 @@ export MOONSTREAM_HUMBUG_TOKEN="<Token for crawlers store data via Humbug>"
export COINMARKETCAP_API_KEY="<API key to parse conmarketcap>"
export HUMBUG_REPORTER_CRAWLERS_TOKEN="<Bugout Humbug token for crash reports>"
export MOONSTREAM_DATA_JOURNAL_ID="<Bugout journal id for moonstream>"
export MOONSTREAM_ADMIN_ACCESS_TOKEN="<Bugout access token for moonstream>"
export MOONSTREAM_ADMIN_ACCESS_TOKEN="<Bugout access token for moonstream>"
export NFT_HUMBUG_TOKEN="<Token for nft crawler>"