From ecffbdc321d76715792be821ffb4101056c78031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Tue, 6 Dec 2022 19:48:06 +0000 Subject: [PATCH] Allow exporting events to ics when unauthenticated --- lib/pleroma/web/pleroma_api/controllers/event_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/pleroma_api/controllers/event_controller.ex b/lib/pleroma/web/pleroma_api/controllers/event_controller.ex index 8fc2f398a7..34517533ef 100644 --- a/lib/pleroma/web/pleroma_api/controllers/event_controller.ex +++ b/lib/pleroma/web/pleroma_api/controllers/event_controller.ex @@ -65,7 +65,7 @@ defmodule Pleroma.Web.PleromaAPI.EventController do plug( OAuthScopesPlug, - %{scopes: ["read:statuses"]} + %{fallback: :proceed_unauthenticated, scopes: ["read:statuses"]} when action in [:export_ics] )