From 079cf9e25e6f6ee2ab4ad6a76e972c6b8da4982b Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 5 Oct 2016 08:55:47 +0200 Subject: Removed refresh_rate column for the user table. --- src/web/views/api/v2/feed.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/web/views/api/v2/feed.py') 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): -- cgit