Commit 3d492795 authored by minibikini's avatar minibikini
Browse files

clean up

parent 0020b226
......@@ -6,9 +6,7 @@ def render("push_subscription.json", %{subscription: subscription}) 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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment