diff --git a/schema.graphql b/schema.graphql index 1b18406..9daf687 100644 --- a/schema.graphql +++ b/schema.graphql @@ -71,6 +71,7 @@ type Bid @entity { bidMultiplier: BigInt! auctionCreatedAt: BigInt! # timestamp when auction was created + category: Int! presetId: Int } diff --git a/src/helper.ts b/src/helper.ts index f835404..5ad7df1 100644 --- a/src/helper.ts +++ b/src/helper.ts @@ -45,6 +45,7 @@ export function getOrCreateBid( bid.bidMultiplier = auction.bidMultiplier; bid.auctionCreatedAt = auction.createdAt!; + bid.category = auction.category; bid.presetId = auction.presetId; }