clean up
authorEgor Kislitsyn <egor@kislitsyn.com>
Thu, 6 Dec 2018 13:42:00 +0000 (20:42 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Thu, 6 Dec 2018 13:42:00 +0000 (20:42 +0700)
lib/pleroma/web/mastodon_api/views/push_subscription_view.ex

index a910bb43e991bb16a7dda0f9b3a77feb0215b905..68bb454941f5849d2a6eac001b1c16f028d5b144 100644 (file)
@@ -6,9 +6,7 @@ defmodule Pleroma.Web.MastodonAPI.PushSubscriptionView do
     %{
       id: to_string(subscription.id),
       endpoint: subscription.endpoint,
-      alerts: Map.get(subscription.data, "alerts"),
-      # TODO: generate VAPID server key
-      server_key: "N/A"
+      alerts: Map.get(subscription.data, "alerts")
     }
   end
 end