diff --git a/libs/environment/src/hooks/mocks/apollo-client.tsx b/libs/environment/src/hooks/mocks/apollo-client.tsx index e1642613a..f8cb80947 100644 --- a/libs/environment/src/hooks/mocks/apollo-client.tsx +++ b/libs/environment/src/hooks/mocks/apollo-client.tsx @@ -23,7 +23,7 @@ export const getMockBusEventsResult = (): BlockTime => ({ busEvents: [ { __typename: 'BusEvent', - eventId: '0', + id: '0', }, ], }); diff --git a/libs/environment/src/utils/__generated__/BlockTime.ts b/libs/environment/src/utils/__generated__/BlockTime.ts index 40fa9807b..4d8697142 100644 --- a/libs/environment/src/utils/__generated__/BlockTime.ts +++ b/libs/environment/src/utils/__generated__/BlockTime.ts @@ -12,7 +12,7 @@ export interface BlockTime_busEvents { /** * the ID for this event */ - eventId: string; + id: string; } export interface BlockTime { diff --git a/libs/environment/src/utils/request-node.ts b/libs/environment/src/utils/request-node.ts index 522c5abc1..0ceb3e4b7 100644 --- a/libs/environment/src/utils/request-node.ts +++ b/libs/environment/src/utils/request-node.ts @@ -14,7 +14,7 @@ export const STATS_QUERY = gql` export const TIME_UPDATE_SUBSCRIPTION = gql` subscription BlockTime { busEvents(types: TimeUpdate, batchSize: 1) { - eventId + id } } `;