diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-05 08:55:47 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-05 08:55:47 +0200 |
commit | 079cf9e25e6f6ee2ab4ad6a76e972c6b8da4982b (patch) | |
tree | 48f447e12df8827608c88637f9e53729112e90e2 /src/web/views/api | |
parent | Bugfix: 'feeds' is now a list. (diff) | |
download | newspipe-079cf9e25e6f6ee2ab4ad6a76e972c6b8da4982b.tar.gz newspipe-079cf9e25e6f6ee2ab4ad6a76e972c6b8da4982b.tar.bz2 newspipe-079cf9e25e6f6ee2ab4ad6a76e972c6b8da4982b.zip |
Removed refresh_rate column for the user table.
Diffstat (limited to 'src/web/views/api')
-rw-r--r-- | src/web/views/api/v2/feed.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/web/views/api/v2/feed.py b/src/web/views/api/v2/feed.py index a5561475..a0691277 100644 --- a/src/web/views/api/v2/feed.py +++ b/src/web/views/api/v2/feed.py @@ -5,8 +5,7 @@ from flask_restful import Api from web.views.common import api_permission from web.controllers.feed import (FeedController, DEFAULT_MAX_ERROR, - DEFAULT_LIMIT, - DEFAULT_REFRESH_RATE) + DEFAULT_LIMIT) from web.views.api.v2.common import PyAggAbstractResource, \ PyAggResourceNew, \ @@ -29,8 +28,7 @@ class FeedsAPI(PyAggResourceMulti): class FetchableFeedAPI(PyAggAbstractResource): controller_cls = FeedController attrs = {'max_error': {'type': int, 'default': DEFAULT_MAX_ERROR}, - 'limit': {'type': int, 'default': DEFAULT_LIMIT}, - 'refresh_rate': {'type': int, 'default': DEFAULT_REFRESH_RATE}} + 'limit': {'type': int, 'default': DEFAULT_LIMIT}} @api_permission.require(http_exception=403) def get(self): |