Skip to content

Commit

Permalink
Merge pull request #276 from elisarver/patch-1
Browse files Browse the repository at this point in the history
Missing expires_at in GroupMembers update
  • Loading branch information
Gauvain Pocentek committed Jun 21, 2017
2 parents 19f1b1a + d41e972 commit f19681f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab/v4/objects.py
Expand Up @@ -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):
Expand Down

0 comments on commit f19681f

Please sign in to comment.