aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views/api/article.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel+bitbucket@gmail.com>2015-04-23 10:04:23 +0200
committerCédric Bonhomme <kimble.mandel+bitbucket@gmail.com>2015-04-23 10:04:23 +0200
commitfad13d6f3a5ddb133b5dbb6df77ca200be9ea241 (patch)
tree52db75138eee48708aef3633d862938d01de0218 /pyaggr3g470r/views/api/article.py
parentFixed strange behaviour of the search when only searching on the content. (diff)
parentenforcing better user of user_id in controllers (diff)
downloadnewspipe-fad13d6f3a5ddb133b5dbb6df77ca200be9ea241.tar.gz
newspipe-fad13d6f3a5ddb133b5dbb6df77ca200be9ea241.tar.bz2
newspipe-fad13d6f3a5ddb133b5dbb6df77ca200be9ea241.zip
Merged in jaesivsm/pyaggr3g470r (pull request #12)
enforcing better user of user_id in controllers
Diffstat (limited to 'pyaggr3g470r/views/api/article.py')
-rw-r--r--pyaggr3g470r/views/api/article.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views/api/article.py b/pyaggr3g470r/views/api/article.py
index 516eef8f..03ecdb18 100644
--- a/pyaggr3g470r/views/api/article.py
+++ b/pyaggr3g470r/views/api/article.py
@@ -51,7 +51,7 @@ class ArticlesChallenge(PyAggAbstractResource):
if key in id_dict:
id_dict[key] = dateutil.parser.parse(id_dict[key])
- return self.controller.challenge(parsed_args['ids'])
+ return self.wider_controller.challenge(parsed_args['ids'])
g.api.add_resource(ArticleNewAPI, '/article', endpoint='article_new.json')
bgstack15