InstanceV2: skip auth
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
28ef5ebd3c
commit
c6cedbb810
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue