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) => {