diff options
-rw-r--r-- | ogcp/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/views.py b/ogcp/views.py index fc2a3fb..1be52a0 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -143,8 +143,8 @@ def get_repository(repository_id): def get_repositories(): - r = g.server.get('/servers') - repositories = r.json()['servers'] + r = g.server.get('/repositories') + repositories = r.json()['repositories'] return repositories |