From 58340813caf9739e6e7223cd9ae3bf47d567ce53 Mon Sep 17 00:00:00 2001 From: trivernis Date: Fri, 4 Dec 2020 10:33:07 +0100 Subject: [PATCH] Fix code of insufficient permissions error Signed-off-by: trivernis --- src/errors/PermissionError.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } }