diff options
author | Mark Felder <feld@feld.me> | 2024-01-28 16:09:55 -0500 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-01-28 16:09:55 -0500 |
commit | 94838ed941494fb6132086aa2cb3b5e65a00b08c (patch) | |
tree | 15835df3ec780fa158a2e375b63a091535e8de28 /docs/installation/alpine_linux_en.md | |
parent | d92c3d927d4134941dabef3e8f1b5209de115665 (diff) | |
download | pleroma-94838ed941494fb6132086aa2cb3b5e65a00b08c.tar.gz pleroma-94838ed941494fb6132086aa2cb3b5e65a00b08c.zip |
Pleroma.Web.AdminAPI.RelayController: dialyzer errors
lib/pleroma/web/admin_api/controllers/relay_controller.ex:34:no_return
Function follow/2 has no local return.
________________________________________________________________________________
lib/pleroma/web/admin_api/controllers/relay_controller.ex:38:call
The function call will not succeed.
Phoenix.Controller.json(
_conn :: %{
:assigns => %{:user => _, _ => _},
:body_params => %{:relay_url => _, _ => _},
_ => _
},
%{:actor => binary(), :followed_back => boolean()}
)
breaks the contract
(Plug.Conn.t(), term()) :: Plug.Conn.t()
________________________________________________________________________________
lib/pleroma/web/admin_api/controllers/relay_controller.ex:41:call
The function call will not succeed.
Plug.Conn.put_status(
_conn :: %{
:assigns => %{:user => _, _ => _},
:body_params => %{:relay_url => _, _ => _},
_ => _
},
500
)
breaks the contract
(t(), status()) :: t()
________________________________________________________________________________
lib/pleroma/web/admin_api/controllers/relay_controller.ex:47:no_return
Function unfollow/2 has no local return.
________________________________________________________________________________
lib/pleroma/web/admin_api/controllers/relay_controller.ex:51:call
The function call will not succeed.
Phoenix.Controller.json(
_conn :: %{
:assigns => %{:user => _, _ => _},
:body_params => %{:relay_url => _, _ => _},
_ => _
},
_target :: binary()
)
breaks the contract
(Plug.Conn.t(), term()) :: Plug.Conn.t()
________________________________________________________________________________
lib/pleroma/web/admin_api/controllers/relay_controller.ex:54:call
The function call will not succeed.
Plug.Conn.put_status(
_conn :: %{
:assigns => %{:user => _, _ => _},
:body_params => %{:relay_url => _, _ => _},
_ => _
},
500
)
breaks the contract
(t(), status()) :: t()
Diffstat (limited to 'docs/installation/alpine_linux_en.md')
0 files changed, 0 insertions, 0 deletions