Merge commit from fork

This commit is contained in:
Claire
2025-12-08 15:44:08 +01:00
committed by GitHub
parent a9f8268a75
commit e6d2fc869b
15 changed files with 16 additions and 16 deletions

View File

@@ -145,7 +145,7 @@ class Api::V1::StatusesController < Api::BaseController
def set_status
@status = Status.find(params[:id])
authorize @status, :show?
rescue Mastodon::NotPermittedError
rescue ActiveRecord::RecordNotFound, Mastodon::NotPermittedError
not_found
end