diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-08-01 15:56:38 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-08-01 15:56:38 +0300 |
commit | 57038cf8935fa24a12f495faecfd05690ff3e8b5 (patch) | |
tree | 80a623d040a21a4e4ba955f7d676ac2bfc0fbe2b | |
parent | 036a863b00fe079e13bb1640267078ec47e6f9e5 (diff) | |
download | qvisqve-57038cf8935fa24a12f495faecfd05690ff3e8b5.tar.gz |
Fix: GET /foos actually returns ids
-rw-r--r-- | qvisqve/management_router.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qvisqve/management_router.py b/qvisqve/management_router.py index 7ae04b0..6095d41 100644 --- a/qvisqve/management_router.py +++ b/qvisqve/management_router.py @@ -95,8 +95,8 @@ class ManagementEndpoint: def _list(self, content_type, body, **kwargs): qvisqve.log.log('info', msg_text='Listing', path=self._path) - # FIXME - return qvisqve.ok_response({"resources": []}) + entity_ids = list(self._entities.list()) + return qvisqve.ok_response({"resources": entity_ids}) def _show(self, content_type, body, **kwargs): qvisqve.log.log('info', msg_text='Showing client') |