Skip to content

Commit

Permalink
refactor: extract variable
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Nov 7, 2024
1 parent 805aefa commit 1b67aff
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/syncers/src/syncers/SwarmStampSyncer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,8 @@ export class SwarmStampSyncer extends BaseSyncer {
},
});

this.logger.info(
`Swarm batch ID "${batchId}" updated. New expiry date: ${formatTtl(
batchTTL
)}.`
);
const expiryDate = formatTtl(batchTTL);
this.logger.info(`Swarm batch ID "${batchId}" updated. New expiry date: ${expiryDate}.`);
},
});
}
Expand Down

0 comments on commit 1b67aff

Please sign in to comment.