Skip to content
Snippets Groups Projects
Commit 3d492795 authored by minibikini's avatar minibikini
Browse files

clean up

parent 0020b226
Branches
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment