Mastodon API: query error with notifications
[debug] ** (Ecto.Query.CastError) lib/pleroma/notification.ex:22: value
`"{\"id\":51735,\"type\":\"favourite\",\"account\":\"21330\",\"status\":
\"7388664\"}"` in `where` cannot be cast to type :id in query:
from n in Pleroma.Notification,
where: n.user_id == ^12300,
where: n.id > ^"{\"id\":51735,\"type\":\"favourite\",\"account\":\"213
30\",\"status\":\"7388664\"}",
order_by: [desc: n.id],
limit: 20,
select: n,
preload: [:activity]
(pleroma) lib/pleroma/web/mastodon_api/mastodon_api_controller.ex:389: Pleroma.Web.MastodonAPI.MastodonAPIController.notifications/2
Edited by eal