# HG changeset patch # User Søren Løvborg # Date 2016-09-05 17:06:45 # Node ID 73254f59be350255fbd4a690b084fb6242131512 # Parent 69be8ef8ebfebf3fbf08571e76f36a1c4dda7111 model: fix get_all call missed in 974d6470cbec This would have been caught by test coverage ... diff --git a/kallithea/controllers/api/api.py b/kallithea/controllers/api/api.py --- a/kallithea/controllers/api/api.py +++ b/kallithea/controllers/api/api.py @@ -2032,7 +2032,7 @@ class ApiController(JSONRPCController): :type apiuser: AuthUser """ result = [] - for repo_group in RepoGroupModel().get_all(): + for repo_group in RepoGroup.get_all(): result.append(repo_group.get_api_data()) return result