From c99aa7538f94227b02b02637fc88a52e2d17cc12 Mon Sep 17 00:00:00 2001 From: Karan Shahani Date: Tue, 8 Nov 2022 15:22:23 -0500 Subject: [PATCH] feat(synthetix): Fix duration --- src/apps/synthetix/common/synthetix.mintr.snx-holders.cache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/synthetix/common/synthetix.mintr.snx-holders.cache.ts b/src/apps/synthetix/common/synthetix.mintr.snx-holders.cache.ts index 5c2c2efa7..ac119ef14 100644 --- a/src/apps/synthetix/common/synthetix.mintr.snx-holders.cache.ts +++ b/src/apps/synthetix/common/synthetix.mintr.snx-holders.cache.ts @@ -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];