diff options
Diffstat (limited to 'src/web/views/api/v3/article.py')
-rw-r--r-- | src/web/views/api/v3/article.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/api/v3/article.py b/src/web/views/api/v3/article.py index 44c5fe45..49a9842e 100644 --- a/src/web/views/api/v3/article.py +++ b/src/web/views/api/v3/article.py @@ -13,7 +13,7 @@ class ArticleProcessor(AbstractProcessor): # instance of the model. contr = ArticleController(current_user.id) article = contr.get(id=instance_id) - if not self.is_authorized_to_modify(current_user, article): + if not self.is_authorized(current_user, article): raise ProcessingException(description='Not Authorized', code=401) def post_put_preprocessor(self, data=None, **kw): |