InstanceV2: skip auth
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
28ef5ebd3c
commit
c6cedbb810
@ -7,7 +7,7 @@ defmodule Pleroma.Web.MastodonAPI.InstanceController do
|
|||||||
|
|
||||||
plug(Pleroma.Web.ApiSpec.CastAndValidate)
|
plug(Pleroma.Web.ApiSpec.CastAndValidate)
|
||||||
|
|
||||||
plug(:skip_auth when action in [:show, :peers])
|
plug(:skip_auth when action in [:show, :show2, :peers])
|
||||||
|
|
||||||
defdelegate open_api_operation(action), to: Pleroma.Web.ApiSpec.InstanceOperation
|
defdelegate open_api_operation(action), to: Pleroma.Web.ApiSpec.InstanceOperation
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user