~ihabunek/triglav

d0a3b6cbc68dd295b2f8b5756a0c27e1a1c6a012 — Ivan Habunek a month ago 61902f4
Fix error comparison to include platform_id
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/triglav/schemas/error.ex
M lib/triglav/schemas/error.ex => lib/triglav/schemas/error.ex +1 -1
@@ 41,7 41,7 @@ defmodule Triglav.Schemas.Error do
  @spec signature(Error.t()) :: map()
  def signature(%__MODULE__{} = error) do
    error
    |> Map.take([:route_id, :relation_id, :key, :params])
    |> Map.take([:route_id, :relation_id, :platform_id, :key, :params])
    |> Map.update!(:params, &keys_to_atoms/1)
  end