projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WebPush: Use Object.normalize, rewrite tests so they test reality.
[akkoma]
/
lib
/
pleroma
/
web
/
push
/
push.ex
diff --git
a/lib/pleroma/web/push/push.ex
b/lib/pleroma/web/push/push.ex
index cdd50005d37aa25cc910818b8bcea8f4f6a3488a..729dad02a22a0cec0698c6501cf2671e939ec49f 100644
(file)
--- a/
lib/pleroma/web/push/push.ex
+++ b/
lib/pleroma/web/push/push.ex
@@
-7,7
+7,7
@@
defmodule Pleroma.Web.Push do
require Logger
require Logger
- def init
()
do
+ def init do
unless enabled() do
Logger.warn("""
VAPID key pair is not found. If you wish to enabled web push, please run
unless enabled() do
Logger.warn("""
VAPID key pair is not found. If you wish to enabled web push, please run