diff options
author | lain <lain@soykaf.club> | 2020-04-23 15:47:08 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-04-23 15:47:08 +0200 |
commit | ec7335535d857c6777798ed08dab357b07fb6efa (patch) | |
tree | 09b32798fbaa271c6ea33912899cc067e0cdd495 /lib/pleroma/web/push/impl.ex | |
parent | 1d6338f2d38284e94e17be58c21c7f34b5621ab7 (diff) | |
parent | 1b5f8d19eeccfe202c0377079caa6a1d6f3cacb5 (diff) | |
download | pleroma-ec7335535d857c6777798ed08dab357b07fb6efa.tar.gz |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
Diffstat (limited to 'lib/pleroma/web/push/impl.ex')
-rw-r--r-- | lib/pleroma/web/push/impl.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/push/impl.ex b/lib/pleroma/web/push/impl.ex index f1740a6e0..a9f893f7b 100644 --- a/lib/pleroma/web/push/impl.ex +++ b/lib/pleroma/web/push/impl.ex @@ -55,11 +55,12 @@ defmodule Pleroma.Web.Push.Impl do |> Jason.encode!() |> push_message(build_sub(subscription), gcm_api_key, subscription) end + |> (&{:ok, &1}).() end def perform(_) do Logger.warn("Unknown notification type") - :error + {:error, :unknown_type} end @doc "Push message to web" |