diff options
Diffstat (limited to 'pyaggr3g470r/views/api')
-rw-r--r-- | pyaggr3g470r/views/api/feed.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pyaggr3g470r/views/api/feed.py b/pyaggr3g470r/views/api/feed.py index 898e30b0..0d83ea43 100644 --- a/pyaggr3g470r/views/api/feed.py +++ b/pyaggr3g470r/views/api/feed.py @@ -16,7 +16,7 @@ FEED_ATTRS = {'title': {'type': str}, 'enabled': {'type': bool, 'default': True}, 'etag': {'type': str, 'default': ''}, 'last_modified': {'type': str}, - 'last_retreived': {'type': str}, + 'last_retrieved': {'type': str}, 'last_error': {'type': str}, 'error_count': {'type': int, 'default': 0}} @@ -24,24 +24,24 @@ FEED_ATTRS = {'title': {'type': str}, class FeedNewAPI(PyAggResourceNew): controller_cls = FeedController attrs = FEED_ATTRS - to_date = ['date', 'last_retreived'] + to_date = ['date', 'last_retrieved'] class FeedAPI(PyAggResourceExisting): controller_cls = FeedController attrs = FEED_ATTRS - to_date = ['date', 'last_retreived'] + to_date = ['date', 'last_retrieved'] class FeedsAPI(PyAggResourceMulti): controller_cls = FeedController attrs = FEED_ATTRS - to_date = ['date', 'last_retreived'] + to_date = ['date', 'last_retrieved'] class FetchableFeedAPI(PyAggAbstractResource): controller_cls = FeedController - to_date = ['date', 'last_retreived'] + to_date = ['date', 'last_retrieved'] attrs = {'max_error': {'type': int, 'default': DEFAULT_MAX_ERROR}, 'limit': {'type': int, 'default': DEFAULT_LIMIT}} |