Skip to content

Commit

Permalink
Fix cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Sep 30, 2024
1 parent 9bf3a52 commit fbff4fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/v1/vault.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default async function (
}

const result = await asyncCache.wrap(
`vault:${chain}:${vault_id}:holders`,
`vault:${chain}:${vault_id}:${block_number}:holders`,
5 * 60 * 1000,
async () => await getVaultHolders(chain, vault_id, BigInt(block_number))
);
Expand Down

0 comments on commit fbff4fb

Please sign in to comment.