Fix code of insufficient permissions error

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/28/head
trivernis 4 years ago
parent eaf484596b
commit 58340813ca
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -2,6 +2,6 @@ import { ApolloError } from 'apollo-server-express';
export class PermissionError extends ApolloError { export class PermissionError extends ApolloError {
constructor () { constructor () {
super('Insufficient permissions.', 'INSUFFICIENT_PERMISSION'); super('Insufficient permissions.', 'INSUFFICIENT_PERMISSIONS');
} }
} }

Loading…
Cancel
Save