diff options
author | vanadium23 <chernoffivan@gmail.com> | 2017-06-09 22:49:57 +0300 |
---|---|---|
committer | vanadium23 <chernoffivan@gmail.com> | 2017-06-09 22:49:57 +0300 |
commit | 4ccd79983274442ca21e6c73ef0863097b57350c (patch) | |
tree | f46ad6f3e9a06142bc97018c19fc2960ce2f79c9 /lib/api/projects.rb | |
parent | 34dcfae994e23b7a65f2245817757e29f3f3e795 (diff) | |
download | gitlab-ce-4ccd79983274442ca21e6c73ef0863097b57350c.tar.gz |
Accept image for avatar in project API
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r-- | lib/api/projects.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb index 56046742e08..50d34e8a738 100644 --- a/lib/api/projects.rb +++ b/lib/api/projects.rb @@ -22,6 +22,7 @@ module API optional :only_allow_merge_if_pipeline_succeeds, type: Boolean, desc: 'Only allow to merge if builds succeed' optional :only_allow_merge_if_all_discussions_are_resolved, type: Boolean, desc: 'Only allow to merge if all discussions are resolved' optional :tag_list, type: Array[String], desc: 'The list of tags for a project' + optional :avatar, type: File, desc: 'Avatar image for project' end params :optional_params do |