Fix read/unread multiple endpoints not returning ids as strings
This commit is contained in:
parent
42ab728f7e
commit
4e484cac92
|
@ -101,7 +101,7 @@ defmodule FrenzyWeb.Fervor.ItemsController do
|
|||
changeset = Item.changeset(item, changes)
|
||||
|
||||
case Repo.update(changeset) do
|
||||
{:ok, item} -> item.id
|
||||
{:ok, item} -> to_string(item.id)
|
||||
_ -> nil
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Reference in New Issue