Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
feat(synthetix): Fix duration
Browse files Browse the repository at this point in the history
  • Loading branch information
immasandwich committed Nov 8, 2022
1 parent 76c35b2 commit c99aa75
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -48,7 +48,7 @@ export class SynthetixMintrSnxHoldersCache {
@Cache({
instance: 'business',
key: (network: Network) => `studio:${SYNTHETIX_DEFINITION.id}:${network}:all-snx-holders`,
ttl: moment.duration('15', 'minutes').asSeconds,
ttl: moment.duration('15', 'minutes').asSeconds(),
})
async getSynthetixHolders(network: Network) {
const endpoint = this.graphs[network];
Expand Down

0 comments on commit c99aa75

Please sign in to comment.