From 56f27e471530dbbf4e6fcc0ac7b06cde7b4c286e Mon Sep 17 00:00:00 2001 From: izzy lyseggen Date: Mon, 24 Aug 2020 17:51:23 +0100 Subject: [PATCH] fix(typo): spelling mistake in error message --- modules/shared/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/shared/index.js b/modules/shared/index.js index 067ef098d..8f2d909cf 100644 --- a/modules/shared/index.js +++ b/modules/shared/index.js @@ -99,9 +99,9 @@ async function validateServerRole( context, requiredRole ) { async function validateScopes( scopes, scope ) { if ( !scopes ) - throw new ForbiddenError( 'You do not have the required priviliges.' ) + throw new ForbiddenError( 'You do not have the required privileges.' ) if ( scopes.indexOf( scope ) === -1 && scopes.indexOf( '*' ) === -1 ) - throw new ForbiddenError( 'You do not have the required priviliges.' ) + throw new ForbiddenError( 'You do not have the required privileges.' ) } /*