From ad3d0b303fae109d533a65443f3f651558168b6d Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 18 Mar 2019 11:33:35 +0100 Subject: [PATCH] fbSlug went from ID! to String! in the queries --- src/schema/queries/StrategyByFB.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schema/queries/StrategyByFB.js b/src/schema/queries/StrategyByFB.js index bb68b582d..03b4005a1 100644 --- a/src/schema/queries/StrategyByFB.js +++ b/src/schema/queries/StrategyByFB.js @@ -1,13 +1,13 @@ import { GraphQLNonNull, - GraphQLID, + GraphQLString, } from 'graphql'; import { DatabaseError } from '../../errors'; import { StrategyType } from '../types'; import { Strategy } from '../../models'; const args = { - fbSlug: { type: new GraphQLNonNull(GraphQLID) }, + fbSlug: { type: new GraphQLNonNull(GraphQLString) }, }; const resolve = (parent, { fbSlug }) => new Promise((res, rej) => {