summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gitlab/v4/objects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index d1d589e..01c453f 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -362,7 +362,7 @@ class GroupMember(GitlabObject):
requiredCreateAttrs = ['access_level', 'user_id']
optionalCreateAttrs = ['expires_at']
requiredUpdateAttrs = ['access_level']
- optionalCreateAttrs = ['expires_at']
+ optionalUpdateAttrs = ['expires_at']
shortPrintAttr = 'username'
def _update(self, **kwargs):