4a9efc606f
GET :namespace/merge_requests/:id/ci_environments_status complexity already reached a limit for a direct serialization from an hash computed at within the controller function. Here we introduce a virtual model EnvironmentStatus and its serializer.
5 lines
119 B
Ruby
5 lines
119 B
Ruby
# frozen_string_literal: true
|
|
|
|
class EnvironmentStatusSerializer < BaseSerializer
|
|
entity EnvironmentStatusEntity
|
|
end
|