From 7fdf789b2ff44e5def424fb0ae0eee6b3cbd6412 Mon Sep 17 00:00:00 2001 From: Koinzell <0xkoinzell@gmail.com> Date: Tue, 11 Jul 2023 09:49:39 -0500 Subject: [PATCH] allow null for estimated matching object for testing party --- src/types/qfTypes.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/types/qfTypes.ts b/src/types/qfTypes.ts index 1a9cc1cba..cede70c62 100644 --- a/src/types/qfTypes.ts +++ b/src/types/qfTypes.ts @@ -2,12 +2,12 @@ import { Field, Float, ObjectType } from 'type-graphql'; @ObjectType() export class EstimatedMatching { - @Field(type => Float) - projectDonationsSqrtRootSum: number; + @Field(type => Float, { nullable: true }) + projectDonationsSqrtRootSum?: number; - @Field(type => Float) - allProjectsSum: number; + @Field(type => Float, { nullable: true }) + allProjectsSum?: number; - @Field(type => Float) - matchingPool: number; + @Field(type => Float, { nullable: true }) + matchingPool?: number; }