Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-02 15:08:31 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-02 15:08:31 +0300
commit082a21ddd4d13dd00fc443ecc29c6cc5c1229423 (patch)
treea5e18db615d097574f6aa932ab1d5a1782f854e5 /app/serializers
parent6c4491e9365c6749fb7f2fb9826c450c3035a417 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/error_tracking/error_entity.rb6
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