Merge branch 'mkljczk-develop-patch-20799' into 'develop'

Allow exporting events to ics when unauthenticated

See merge request soapbox-pub/rebased!222
This commit is contained in:
marcin mikołajczak 2022-12-06 20:04:20 +00:00
commit 8c7bdf1dbb

View file

@ -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]
)