summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/deploy_tokens.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/deploy_tokens.py')
-rw-r--r--gitlab/v4/objects/deploy_tokens.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects/deploy_tokens.py b/gitlab/v4/objects/deploy_tokens.py
index 97f3270..563c1d6 100644
--- a/gitlab/v4/objects/deploy_tokens.py
+++ b/gitlab/v4/objects/deploy_tokens.py
@@ -39,7 +39,7 @@ class GroupDeployTokenManager(ListMixin, CreateMixin, DeleteMixin, RESTManager):
"username",
),
)
- _types = {"scopes": types.ListAttribute}
+ _types = {"scopes": types.CommaSeparatedListAttribute}
class ProjectDeployToken(ObjectDeleteMixin, RESTObject):
@@ -60,4 +60,4 @@ class ProjectDeployTokenManager(ListMixin, CreateMixin, DeleteMixin, RESTManager
"username",
),
)
- _types = {"scopes": types.ListAttribute}
+ _types = {"scopes": types.CommaSeparatedListAttribute}