removes createUser mutation
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user