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:
Diffstat (limited to 'lib/api/statistics.rb')
-rw-r--r--lib/api/statistics.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/statistics.rb b/lib/api/statistics.rb
index a12a2ed08d7..1af83c0737a 100644
--- a/lib/api/statistics.rb
+++ b/lib/api/statistics.rb
@@ -10,7 +10,7 @@ module API
MergeRequest, Note, Snippet, Key, Milestone].freeze
desc 'Get the current application statistics' do
- success Entities::ApplicationStatistics
+ success code: 200, model: Entities::ApplicationStatistics
end
get "application/statistics", urgency: :low do
counts = Gitlab::Database::Count.approximate_counts(COUNTED_ITEMS)