Remove failing skip_before_action from v1/custom_emojis_controller.rb

Fixes incorrect merge at 9eb149477a24daf6e17a72ef550c76d4cf6ad506
This commit is contained in:
Jeremy Kescher 2023-05-07 23:15:28 +02:00 committed by neatchee
parent b0b593d525
commit ec687d7edb

View file

@ -2,6 +2,7 @@
class Api::V1::CustomEmojisController < Api::BaseController class Api::V1::CustomEmojisController < Api::BaseController
vary_by '', unless: :disallow_unauthenticated_api_access? vary_by '', unless: :disallow_unauthenticated_api_access?
skip_before_action :require_authenticated_user!, unless: :whitelist_mode?
def index def index
cache_even_if_authenticated! unless disallow_unauthenticated_api_access? cache_even_if_authenticated! unless disallow_unauthenticated_api_access?