diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-26 07:04:48 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-04-26 07:04:48 +0200 |
commit | 1f2d16d47b383fe445f17d13e32409505a3b4356 (patch) | |
tree | 1405ed1c11e6dd81b8f47458e22f567eec736f15 /src/web/views/api/v3/feed.py | |
parent | Fix conflicts. (diff) | |
download | newspipe-1f2d16d47b383fe445f17d13e32409505a3b4356.tar.gz newspipe-1f2d16d47b383fe445f17d13e32409505a3b4356.tar.bz2 newspipe-1f2d16d47b383fe445f17d13e32409505a3b4356.zip |
Renamed a function to is_authorized?
Diffstat (limited to 'src/web/views/api/v3/feed.py')
-rw-r--r-- | src/web/views/api/v3/feed.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/api/v3/feed.py b/src/web/views/api/v3/feed.py index ef1b415f..a97aa415 100644 --- a/src/web/views/api/v3/feed.py +++ b/src/web/views/api/v3/feed.py @@ -11,7 +11,7 @@ class FeedProcessor(AbstractProcessor): # instance of the model. contr = FeedController(current_user.id) feed = contr.get(id=instance_id) - if not self.is_authorized_to_modify(current_user, feed): + if not self.is_authorized(current_user, feed): raise ProcessingException(description='Not Authorized', code=401) |