it's service, not services

This commit is contained in:
Sven Fuchs 2012-09-15 14:35:37 +02:00
parent a2d195ecf9
commit a8fc2f0e7a

View File

@ -6,12 +6,12 @@ class Travis::Api::App
class Stats < Endpoint
# TODO: Add documentation.
get('/repos') do
{ :stats => services(:stats).daily_repository_counts }
{ :stats => service(:stats).daily_repository_counts }
end
# TODO: Add documentation.
get('/tests') do
{ :stats => services(:stats).daily_tests_counts }
{ :stats => service(:stats).daily_tests_counts }
end
end
end