From 3a327ee32a04c83684a12d0af0f9907619609523 Mon Sep 17 00:00:00 2001 From: Louis Grasset Date: Mon, 18 Sep 2023 23:56:14 +0200 Subject: [PATCH] feat: add twitter handle to logs (#24) --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index daa029b..bf8d824 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ import { configuration } from './configuration/configuration.js'; -import { DAEMON, DAEMON_PERIOD_MIN, SYNC_BLUESKY, SYNC_MASTODON } from './constants.js'; +import { DAEMON, DAEMON_PERIOD_MIN, SYNC_BLUESKY, SYNC_MASTODON, TWITTER_HANDLE } from './constants.js'; import { postsSynchronizerService , profileSynchronizerService } from './services/index.js'; const { @@ -30,6 +30,7 @@ const touitomamout = async () => { console.log('\n🦤 → 🦣+☁️'); console.log('Touitomamout sync'); + console.log(`| Twitter handle: @${TWITTER_HANDLE}`); console.log(`| ${response.metrics.justSynced.toString().padStart(5, '0')} ʲᵘˢᵗ ˢʸⁿᶜᵉᵈ ᵖᵒˢᵗˢ`); console.log(`| ${response.metrics.totalSynced.toString().padStart(5, '0')} ˢʸⁿᶜᵉᵈ ᵖᵒˢᵗˢ ˢᵒ ᶠᵃʳ`); };