From 6a22a80f9f86dade9976e0f3363b4415edd933d0 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Sun, 28 Jan 2024 17:39:46 -0500 Subject: Pleroma.Web.MastodonAPI.DirectoryController: dialyzer errors lib/pleroma/web/mastodon_api/controllers/directory_controller.ex:6:unused_fun Function skip_auth/2 will never be called. ________________________________________________________________________________ lib/pleroma/web/mastodon_api/controllers/directory_controller.ex:6:unused_fun Function skip_plug/2 will never be called. ________________________________________________________________________________ lib/pleroma/web/mastodon_api/controllers/directory_controller.ex:18:guard_fail The guard clause: when _action :: atom() == <<105, 110, 100, 101, 120>> can never succeed. --- changelog.d/mastodon_directory.fix | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/mastodon_directory.fix (limited to 'changelog.d') diff --git a/changelog.d/mastodon_directory.fix b/changelog.d/mastodon_directory.fix new file mode 100644 index 000000000..937c8f864 --- /dev/null +++ b/changelog.d/mastodon_directory.fix @@ -0,0 +1 @@ +Mastodon API /api/v1/directory: Fix listing directory contents when not authenticated -- cgit v1.2.3