removes createUser mutation

This commit is contained in:
James
2020-04-12 18:33:29 -04:00
parent 7477c63714
commit 53c2d1d72b

View File

@@ -6,7 +6,7 @@ const {
const formatName = require('../../graphql/utilities/formatName');
const {
getCreate, getFind, getFindByID, getDelete, getUpdate,
getFind, getFindByID, getDelete, getUpdate,
} = require('../../collections/graphql/resolvers');
const buildPaginatedListType = require('../../graphql/schema/buildPaginatedListType');
@@ -71,14 +71,6 @@ function registerUser() {
resolve: getFind(this.config, this.User),
};
this.Mutation.fields[`create${singularLabel}`] = {
type: this.User.graphQL.type,
args: {
data: { type: this.User.graphQL.mutationInputType },
},
resolve: getCreate(this.config, this.User),
};
this.Mutation.fields[`update${singularLabel}`] = {
type: this.User.graphQL.type,
args: {