clean up
This commit is contained in:
parent
0020b22688
commit
3d492795b7
|
@ -6,9 +6,7 @@ def render("push_subscription.json", %{subscription: subscription}) 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
|
||||||
|
|
Loading…
Reference in New Issue