Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Schembri <jamie@schembri.me>2018-07-09 18:44:09 +0300
committerJamie Schembri <jamie@schembri.me>2018-07-09 20:03:44 +0300
commit38d407d7a7fd07888cbfda26360cd0a1c4972ec5 (patch)
tree8bfdf191403241d215cea6168a87fbdba2e20827 /lib/api/projects.rb
parenta0935bf267b18c14a120809acd56a794c73121e3 (diff)
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'