mastodon/app/controllers/api/v1/accounts/identity_proofs_controller.rb
Claire 38f5e74122
Add Deprecation headers on deprecated endpoints (#34262)
Co-authored-by: Damien Mathieu <42@dmathieu.com>
2025-03-25 12:30:10 +00:00

21 lines
351 B
Ruby

# frozen_string_literal: true
class Api::V1::Accounts::IdentityProofsController < Api::BaseController
include DeprecationConcern
deprecate_api '2022-03-30'
before_action :require_user!
before_action :set_account
def index
render json: []
end
private
def set_account
@account = Account.find(params[:account_id])
end
end