WebPush: Use Object.normalize, rewrite tests so they test reality.
[akkoma] / lib / pleroma / web / push / push.ex
index cdd50005d37aa25cc910818b8bcea8f4f6a3488a..729dad02a22a0cec0698c6501cf2671e939ec49f 100644 (file)
@@ -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