Skip to content

Commit

Permalink
πŸ› Hex first approach on productId
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Sep 29, 2024
1 parent f150822 commit 68574b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ponder/src/api/members.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type GetMembersParams = {
onlyAddress?: boolean;
// Some filters to apply to the query
filter?: {
productIds?: string[];
productIds?: Hex[];
interactions?: {
min?: number;
max?: number;
Expand Down Expand Up @@ -96,7 +96,7 @@ ponder.post("/members/:productAdmin", async (ctx) => {
whereClauses.push(
inArray(
ProductInteractionContract.productId,
productIds.map((p) => p.id)
productIds.map((p) => BigInt(p.id))
)
);

Expand Down

0 comments on commit 68574b8

Please sign in to comment.