projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'fix/gopher-respect-ip' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
mastodon_api
/
views
/
push_subscription_view.ex
diff --git
a/lib/pleroma/web/mastodon_api/views/push_subscription_view.ex
b/lib/pleroma/web/mastodon_api/views/push_subscription_view.ex
index a910bb43e991bb16a7dda0f9b3a77feb0215b905..68bb454941f5849d2a6eac001b1c16f028d5b144 100644
(file)
--- a/
lib/pleroma/web/mastodon_api/views/push_subscription_view.ex
+++ b/
lib/pleroma/web/mastodon_api/views/push_subscription_view.ex
@@
-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