Commit 4af671ba521ada6ff437f6983cc38ad7ae9f9a7a
Exists in
master
and in
1 other branch
Merge pull request #669 from henriksjostrom/master
Return app.id in api stats
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/controllers/api/v1/stats_controller.rb
@@ -12,6 +12,7 @@ class Api::V1::StatsController < ApplicationController | @@ -12,6 +12,7 @@ class Api::V1::StatsController < ApplicationController | ||
12 | 12 | ||
13 | stats = { | 13 | stats = { |
14 | :name => @app.name, | 14 | :name => @app.name, |
15 | + :id => @app.id, | ||
15 | :last_error_time => @last_error_time, | 16 | :last_error_time => @last_error_time, |
16 | :unresolved_errors => @app.unresolved_count | 17 | :unresolved_errors => @app.unresolved_count |
17 | } | 18 | } |