summaryrefslogtreecommitdiff
path: root/lib/api/projects.rb
diff options
context:
space:
mode:
authorJamie Schembri <jamie@schembri.me>2018-07-09 17:44:09 +0200
committerJamie Schembri <jamie@schembri.me>2018-07-09 19:03:44 +0200
commit38d407d7a7fd07888cbfda26360cd0a1c4972ec5 (patch)
tree8bfdf191403241d215cea6168a87fbdba2e20827 /lib/api/projects.rb
parenta0935bf267b18c14a120809acd56a794c73121e3 (diff)
downloadgitlab-ce-38d407d7a7fd07888cbfda26360cd0a1c4972ec5.tar.gz
Fix #48537 - Update avatar only via the projects API
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r--lib/api/projects.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index b83da00502d..8273abe48c9 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -260,7 +260,8 @@ module API
:snippets_enabled,
:tag_list,
:visibility,
- :wiki_enabled
+ :wiki_enabled,
+ :avatar
]
optional :name, type: String, desc: 'The name of the project'
optional :default_branch, type: String, desc: 'The default branch of the project'