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'); }