diff options
author | vanadium23 <chernoffivan@gmail.com> | 2017-06-13 20:23:49 +0300 |
---|---|---|
committer | vanadium23 <chernoffivan@gmail.com> | 2017-06-16 23:52:15 +0300 |
commit | 83a9a472b3bd9c9d8e64805317cd27c144b65112 (patch) | |
tree | e8264c5f951a81e08f5800ee950f8fba209a6ccb /lib/api | |
parent | f2505eb6ce87877f78ee90c8567f879bcd77642b (diff) | |
download | gitlab-ce-83a9a472b3bd9c9d8e64805317cd27c144b65112.tar.gz |
Accept image for avatar in user API
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/users.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/users.rb b/lib/api/users.rb index dda64715ee1..7257ecb5b67 100644 --- a/lib/api/users.rb +++ b/lib/api/users.rb @@ -29,6 +29,7 @@ module API optional :can_create_group, type: Boolean, desc: 'Flag indicating the user can create groups' optional :skip_confirmation, type: Boolean, default: false, desc: 'Flag indicating the account is confirmed' optional :external, type: Boolean, desc: 'Flag indicating the user is an external user' + optional :avatar, type: File, desc: 'Avatar image for user' all_or_none_of :extern_uid, :provider end end |