diff options
Diffstat (limited to 'app/serializers/error_tracking/error_entity.rb')
-rw-r--r-- | app/serializers/error_tracking/error_entity.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/serializers/error_tracking/error_entity.rb b/app/serializers/error_tracking/error_entity.rb index 91388e7c3ad..49644ed2fe7 100644 --- a/app/serializers/error_tracking/error_entity.rb +++ b/app/serializers/error_tracking/error_entity.rb @@ -2,7 +2,11 @@ module ErrorTracking class ErrorEntity < Grape::Entity - expose :id, :title, :type, :user_count, :count, + expose :id do |error| + error.id.to_s + end + + expose :title, :type, :user_count, :count, :first_seen, :last_seen, :message, :culprit, :external_url, :project_id, :project_name, :project_slug, :short_id, :status, :frequency |