chore: remove redundant register user mutation

This commit is contained in:
Ali BARIN
2024-09-11 13:08:53 +00:00
committed by Faruk AYDIN
parent ba0d46c6cd
commit ddc9867058
5 changed files with 1 additions and 51 deletions

View File

@@ -1,4 +1,4 @@
import { allow, rule, shield } from 'graphql-shield';
import { rule, shield } from 'graphql-shield';
import User from '../models/user.js';
import AccessToken from '../models/access-token.js';
@@ -53,7 +53,6 @@ const isAuthenticatedRule = rule()(isAuthenticated);
export const authenticationRules = {
Mutation: {
'*': isAuthenticatedRule,
registerUser: allow,
},
};