This commit is contained in:
Egor Kislitsyn 2018-12-06 20:42:00 +07:00
parent 0020b22688
commit 3d492795b7

View File

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