Pleroma.Web.Plugs.RateLimiter.Supervisor: dialyzer error

lib/pleroma/web/plugs/rate_limiter/supervisor.ex:12:no_return
Function init/1 has no local return.
This commit is contained in:
Mark Felder 2024-01-31 13:12:56 -05:00
parent 92992c022d
commit 97c4d3bcc9

View file

@ -14,7 +14,7 @@ defmodule Pleroma.Web.Plugs.RateLimiter.Supervisor do
Pleroma.Web.Plugs.RateLimiter.LimiterSupervisor
]
opts = [strategy: :one_for_one, name: Pleroma.Web.Streamer.Supervisor]
opts = [strategy: :one_for_one]
Supervisor.init(children, opts)
end
end