Skip to content

Commit 5b90061

Browse files
author
Gauvain Pocentek
committed
Available services: return a list
The method returned a JSON string, which made no sense... Fixes #258
1 parent 468246c commit 5b90061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2168,7 +2168,7 @@ def available(self, **kwargs):
21682168
Returns:
21692169
list (str): The list of service code names.
21702170
"""
2171-
return json.dumps(ProjectService._service_attrs.keys())
2171+
return list(ProjectService._service_attrs.keys())
21722172

21732173

21742174
class ProjectAccessRequest(GitlabObject):

0 commit comments

Comments
 (0)