Skip to content

Commit 27ff7c3

Browse files
committed
fix(sales): update graphql query params to enable querying on metadata
1 parent 9ed0afb commit 27ff7c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/graphql/schemas/typeDefs/salesTypeDefs.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { Field, ObjectType } from "type-graphql";
22
import { EthBigInt } from "../../scalars/ethBigInt.js";
33
import { BasicTypeDef } from "./baseTypes/basicTypeDef.js";
4-
import { HypercertBaseType } from "./baseTypes/hypercertBaseType.js";
54
import { DataResponse } from "../../../lib/graphql/DataResponse.js";
5+
import { HypercertWithMetadata } from "./hypercertTypeDefs.js";
6+
import { HypercertBaseType } from "./baseTypes/hypercertBaseType.js";
67

78
@ObjectType()
89
export class Sale extends BasicTypeDef {
@@ -51,7 +52,7 @@ export class Sale extends BasicTypeDef {
5152
})
5253
creation_block_timestamp?: bigint | number | string;
5354

54-
@Field(() => HypercertBaseType, {
55+
@Field(() => HypercertWithMetadata, {
5556
nullable: true,
5657
description: "The hypercert associated with this order",
5758
})

0 commit comments

Comments
 (0)