diff options
author | rinpatch <rinpatch@sdf.org> | 2019-04-02 14:31:18 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-04-02 14:31:18 +0300 |
commit | fdb4357e9ba7a34a603997d50d85593ca2bf6395 (patch) | |
tree | eb60138c232fc0a7152c3f57dc877a0ea3629949 /lib | |
parent | fe5145eeaab81573614a3475463a24229a6a58a3 (diff) | |
download | pleroma-fdb4357e9ba7a34a603997d50d85593ca2bf6395.tar.gz |
Rename fake param to preview and make the tests check that the object was not inserted to the db
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/common_api/common_api.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex index 8e2937ac5..2f82a32f3 100644 --- a/lib/pleroma/web/common_api/common_api.ex +++ b/lib/pleroma/web/common_api/common_api.ex @@ -180,7 +180,7 @@ defmodule Pleroma.Web.CommonAPI do object: object, additional: %{"cc" => cc, "directMessage" => visibility == "direct"} }, - data["fake"] || false + data["preview"] || false ) res |