Skip to content

Commit cd98903

Browse files
author
Gauvain Pocentek
committed
[v4] Users confirm attribute renamed skip_confirmation
1 parent 2dd84e8 commit cd98903

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitlab/v4/objects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ class User(GitlabObject):
128128
optionalCreateAttrs = ['password', 'reset_password', 'skype', 'linkedin',
129129
'twitter', 'projects_limit', 'extern_uid',
130130
'provider', 'bio', 'admin', 'can_create_group',
131-
'website_url', 'confirm', 'external',
131+
'website_url', 'skip_confirmation', 'external',
132132
'organization', 'location']
133133
requiredUpdateAttrs = ['email', 'username', 'name']
134134
optionalUpdateAttrs = ['password', 'skype', 'linkedin', 'twitter',
135135
'projects_limit', 'extern_uid', 'provider', 'bio',
136136
'admin', 'can_create_group', 'website_url',
137-
'confirm', 'external', 'organization', 'location']
137+
'skip_confirmation', 'external', 'organization', 'location']
138138
managers = (
139139
('emails', 'UserEmailManager', [('user_id', 'id')]),
140140
('keys', 'UserKeyManager', [('user_id', 'id')]),

0 commit comments

Comments
 (0)