Merge pull request #5 from nikolabjelo/develop
fbSlug went from ID! to String! in the queries
This commit is contained in:
1 file changed
+2
-2
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user