From ec687d7edbf4003d7e29fd4cdaedd71c9010da98 Mon Sep 17 00:00:00 2001 From: Jeremy Kescher Date: Sun, 7 May 2023 23:15:28 +0200 Subject: [PATCH] Remove failing skip_before_action from v1/custom_emojis_controller.rb Fixes incorrect merge at 9eb149477a24daf6e17a72ef550c76d4cf6ad506 --- app/controllers/api/v1/custom_emojis_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/api/v1/custom_emojis_controller.rb b/app/controllers/api/v1/custom_emojis_controller.rb index 76bc2b18ad..4c056c952e 100644 --- a/app/controllers/api/v1/custom_emojis_controller.rb +++ b/app/controllers/api/v1/custom_emojis_controller.rb @@ -2,6 +2,7 @@ class Api::V1::CustomEmojisController < Api::BaseController vary_by '', unless: :disallow_unauthenticated_api_access? + skip_before_action :require_authenticated_user!, unless: :whitelist_mode? def index cache_even_if_authenticated! unless disallow_unauthenticated_api_access?