From 2f3b57f94a84f8c90cd30301dc2c35cf7df3344b Mon Sep 17 00:00:00 2001 From: dan13ram Date: Thu, 11 Mar 2021 18:06:19 +0530 Subject: [PATCH] fixed daohaus shares bug (#400) --- packages/backend/src/handlers/remote-schemas/typeDefs.ts | 8 ++++---- schema.graphql | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/backend/src/handlers/remote-schemas/typeDefs.ts b/packages/backend/src/handlers/remote-schemas/typeDefs.ts index 03026305..c173b5fb 100644 --- a/packages/backend/src/handlers/remote-schemas/typeDefs.ts +++ b/packages/backend/src/handlers/remote-schemas/typeDefs.ts @@ -40,8 +40,8 @@ export const typeDefs = gql` summoner: String! title: String version: String - totalShares: Int! - totalLoot: Int! + totalShares: String! + totalLoot: String! } type Member { @@ -51,8 +51,8 @@ export const typeDefs = gql` molochAddress: String! memberAddress: String! delegateKey: String! - shares: Int! - loot: Int + shares: String! + loot: String exists: Boolean! kicked: Boolean } diff --git a/schema.graphql b/schema.graphql index 692784b6..a0767aa0 100644 --- a/schema.graphql +++ b/schema.graphql @@ -1634,19 +1634,19 @@ type Member { exists: Boolean! id: ID! kicked: Boolean - loot: Int + loot: String memberAddress: String! moloch: Moloch! molochAddress: String! - shares: Int! + shares: String! } type Moloch { id: ID! summoner: String! title: String - totalLoot: Int! - totalShares: Int! + totalLoot: String! + totalShares: String! version: String }