From a8fc2f0e7ac41ee55b937e607b8897b2b118411b Mon Sep 17 00:00:00 2001 From: Sven Fuchs Date: Sat, 15 Sep 2012 14:35:37 +0200 Subject: [PATCH] it's service, not services --- lib/travis/api/app/endpoint/stats.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/travis/api/app/endpoint/stats.rb b/lib/travis/api/app/endpoint/stats.rb index 0301cb44..4463dcdb 100644 --- a/lib/travis/api/app/endpoint/stats.rb +++ b/lib/travis/api/app/endpoint/stats.rb @@ -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