PleromaAPI: Change EmojiReact to invisible post response from 400 to 404
This commit is contained in:
parent
293628fb24
commit
73a3f06f71
5 changed files with 36 additions and 18 deletions
|
|
@ -322,7 +322,7 @@ defmodule Pleroma.Web.CommonAPI do
|
|||
{:ok, activity}
|
||||
else
|
||||
{:visible, _} ->
|
||||
{:error, dgettext("errors", "Must be able to access post to interact with it")}
|
||||
{:error, :not_found}
|
||||
|
||||
_ ->
|
||||
{:error, dgettext("errors", "Could not add reaction emoji")}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue