Merge pull request #5 from nikolabjelo/develop

fbSlug went from ID! to String! in the queries
This commit is contained in:
nikolabjelo authored and GitHub committed 2019-03-18 11:34:24 +01:00
commit 010b5f8a44
1 file changed
+2 -2
+2 -2
View File
@@ -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) => {