mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-05 16:39:47 +00:00
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(: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
|
||||
|
||||
|
|
Loading…
Reference in a new issue