From 6142a171fd7c5295eca73d820b368401b9d519b2 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Thu, 22 Sep 2022 13:56:47 +0200 Subject: Fix repositories retrieving Commit X wrongly changed the URI to retrieve the repositories of an ogServer. Fixes: cf02e0c ("Add Servers section") --- ogcp/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ogcp') 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 -- cgit v1.2.3-18-g5258