lib/mihari/serializers/alert.rb in mihari-1.5.1 vs lib/mihari/serializers/alert.rb in mihari-2.0.0

- old
+ new

@@ -2,10 +2,10 @@ require "active_model_serializers" module Mihari class AlertSerializer < ActiveModel::Serializer - attributes :title, :description, :source, :created_at + attributes :id, :title, :description, :source, :created_at has_many :artifacts has_many :tags, through: :taggings end end