Make irreversible field default to false in filters

This commit is contained in:
Sachin Joshi 2019-05-13 23:50:33 +05:45
commit 7701a4c841
4 changed files with 12 additions and 1 deletions

View file

@ -1536,7 +1536,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
user_id: user.id,
phrase: phrase,
context: context,
hide: Map.get(params, "irreversible", nil),
hide: Map.get(params, "irreversible", false),
whole_word: Map.get(params, "boolean", true)
# expires_at
}