mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-24 10:07:24 +00:00
clean up
This commit is contained in:
parent
0020b22688
commit
3d492795b7
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue