Add with_move query param to the notifications API

This commit is contained in:
Egor Kislitsyn 2019-12-03 22:13:38 +07:00
commit 624e720aa4
6 changed files with 55 additions and 15 deletions

View file

@ -73,7 +73,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPI do
exclude_types: {:array, :string},
exclude_visibilities: {:array, :string},
reblogs: :boolean,
with_muted: :boolean
with_muted: :boolean,
with_move: :boolean
}
changeset = cast({%{}, param_types}, params, Map.keys(param_types))