This commit is contained in:
Jeong Arm 2024-05-03 15:06:49 +00:00 committed by GitHub
commit bb86725a93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
# frozen_string_literal: true
class Api::V1::Instances::ExtendedDescriptionsController < Api::V1::Instances::BaseController
skip_before_action :require_authenticated_user!
skip_around_action :set_locale
before_action :set_extended_description

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
class Api::V1::InstancesController < Api::BaseController
skip_before_action :require_authenticated_user!, unless: :limited_federation_mode?
skip_before_action :require_authenticated_user!
skip_around_action :set_locale
vary_by ''