commit: c6cedbb8106a16527e48ac8ae03907e1d66c5a1b
parent 28ef5ebd3c7c2fc083424dbf4434392fcd2a7aef
Author: marcin mikołajczak <git@mkljczk.pl>
Date: Sat, 28 Oct 2023 00:07:18 +0200
InstanceV2: skip auth
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pleroma/web/mastodon_api/controllers/instance_controller.ex b/lib/pleroma/web/mastodon_api/controllers/instance_controller.ex
@@ -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