From cd98903d6c1a2cbf21d533d6d6d4ea58917930b1 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Tue, 23 May 2017 23:21:21 +0200 Subject: [PATCH] [v4] Users confirm attribute renamed skip_confirmation --- gitlab/v4/objects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index 694404680..0a6ae41dc 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -128,13 +128,13 @@ class User(GitlabObject): optionalCreateAttrs = ['password', 'reset_password', 'skype', 'linkedin', 'twitter', 'projects_limit', 'extern_uid', 'provider', 'bio', 'admin', 'can_create_group', - 'website_url', 'confirm', 'external', + 'website_url', 'skip_confirmation', 'external', 'organization', 'location'] requiredUpdateAttrs = ['email', 'username', 'name'] optionalUpdateAttrs = ['password', 'skype', 'linkedin', 'twitter', 'projects_limit', 'extern_uid', 'provider', 'bio', 'admin', 'can_create_group', 'website_url', - 'confirm', 'external', 'organization', 'location'] + 'skip_confirmation', 'external', 'organization', 'location'] managers = ( ('emails', 'UserEmailManager', [('user_id', 'id')]), ('keys', 'UserKeyManager', [('user_id', 'id')]),