summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gitlab/v4/objects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index 89e3259..f25a1df 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -1184,8 +1184,8 @@ class GroupVariableManager(CRUDMixin, RESTManager):
_path = "/groups/%(group_id)s/variables"
_obj_cls = GroupVariable
_from_parent_attrs = {"group_id": "id"}
- _create_attrs = (("key", "value"), ("protected",))
- _update_attrs = (("key", "value"), ("protected",))
+ _create_attrs = (("key", "value"), ("protected", "variable_type"))
+ _update_attrs = (("key", "value"), ("protected", "variable_type"))
class Group(SaveMixin, ObjectDeleteMixin, RESTObject):