Merge commit from fork

This commit is contained in:
Claire
2025-12-08 15:44:08 +01:00
committed by GitHub
parent c7aa312307
commit 5d0ec718fd
14 changed files with 15 additions and 15 deletions

View File

@@ -23,7 +23,7 @@ class Api::V1::Statuses::BookmarksController < Api::V1::Statuses::BaseController
bookmark&.destroy!
render json: @status, serializer: REST::StatusSerializer, relationships: StatusRelationshipsPresenter.new([@status], current_account.id, bookmarks_map: { @status.id => false })
rescue Mastodon::NotPermittedError
rescue ActiveRecord::RecordNotFound, Mastodon::NotPermittedError
not_found
end
end