Skip to content

Commit

Permalink
feat: add twitter handle to logs (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
louisgrasset authored Sep 18, 2023
1 parent b048501 commit 3a327ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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')} ˢʸⁿᶜᵉᵈ ᵖᵒˢᵗˢ ˢᵒ ᶠᵃʳ`);
};
Expand Down

0 comments on commit 3a327ee

Please sign in to comment.