Merge commit 'ffeb5da9912a3b7db0deb8aec429e661ef609c59' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2025-08-05 15:46:33 +02:00
68 changed files with 192 additions and 24 deletions

View File

@@ -19,7 +19,7 @@ class Api::V1::Statuses::QuotesController < Api::V1::Statuses::BaseController
RevokeQuoteService.new.call(@quote)
render_empty # TODO: do we want to return something? an updated status?
render json: @quote.status, serializer: REST::StatusSerializer
end
private

View File

@@ -20,7 +20,7 @@ class Api::V2::SearchController < Api::BaseController
@search = Search.new(search_results)
render json: @search, serializer: REST::SearchSerializer
rescue Mastodon::SyntaxError
unprocessable_entity
unprocessable_content
rescue ActiveRecord::RecordNotFound
not_found
end