diff --git a/src/errors/PermissionError.ts b/src/errors/PermissionError.ts index f87f51d..d971126 100644 --- a/src/errors/PermissionError.ts +++ b/src/errors/PermissionError.ts @@ -2,6 +2,6 @@ import { ApolloError } from 'apollo-server-express'; export class PermissionError extends ApolloError { constructor () { - super('Insufficient permissions.', 'INSUFFICIENT_PERMISSION'); + super('Insufficient permissions.', 'INSUFFICIENT_PERMISSIONS'); } }