From f6fcc7510a6afbab41ace1aa4c7d28bc48136dbd Mon Sep 17 00:00:00 2001 From: "James Morris, MS" <96435344+james-a-morris@users.noreply.github.com> Date: Thu, 24 Oct 2024 12:27:14 -0400 Subject: [PATCH] chore: make timestamp optional --- packages/indexer-api/src/dtos/balances.dto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/indexer-api/src/dtos/balances.dto.ts b/packages/indexer-api/src/dtos/balances.dto.ts index 6237913..0680c15 100644 --- a/packages/indexer-api/src/dtos/balances.dto.ts +++ b/packages/indexer-api/src/dtos/balances.dto.ts @@ -10,7 +10,7 @@ export const SpokePoolBalanceParams = s.object({ chainId: s.number(), l1Token: s.optional(s.string()), // unsure why we have timestamp, implies we are storign history of balances? this is in the spec. - timestamp: s.number(), + timestamp: s.optional(s.number()), }); export type SpokePoolBalanceResultElement = {