From f0b2f104b40735579f9fd5d5cff26d43385185e8 Mon Sep 17 00:00:00 2001 From: CyberShell Date: Thu, 14 Jul 2022 13:18:59 +0000 Subject: [PATCH] fix spelling in post service --- app/services/post.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/post.js b/app/services/post.js index 8c7222d..f2f3c32 100644 --- a/app/services/post.js +++ b/app/services/post.js @@ -66,7 +66,7 @@ class PostService extends SiteService { if (!author.permissions.canAuthorPosts) { throw new SiteError(403, 'You are not permitted to author posts'); } - if ((postDefinition.status === 'published') && !author.permisstions.canPublishPosts) { + if ((postDefinition.status === 'published') && !author.permissions.canPublishPosts) { throw new SiteError(403, 'You are not permitted to publish posts'); }