diff --git a/app/controllers/api/v1/stats_controller.rb b/app/controllers/api/v1/stats_controller.rb index 653ae0a..fe28ec8 100644 --- a/app/controllers/api/v1/stats_controller.rb +++ b/app/controllers/api/v1/stats_controller.rb @@ -13,7 +13,7 @@ class Api::V1::StatsController < ApplicationController stats = { :name => @app.name, :last_error_time => @last_error_time, - :unresolved_errors => @app.problems.unresolved.count + :unresolved_errors => @app.unresolved_count } respond_to do |format| -- libgit2 0.21.2