success message when processing bangtags-only scripts

staging
multiple creatures 2019-07-24 13:03:51 -05:00
parent 25d628fca3
commit 4415e8b047
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class Api::V1::StatusesController < Api::BaseController
idempotency: request.headers['Idempotency-Key'])
if @status.nil?
raise Mastodon::ValidationError, 'Bangtags processed. No output.'
raise Mastodon::ValidationError, 'Bangtags processed successfully.'
else
render json: @status, serializer: @status.is_a?(ScheduledStatus) ? REST::ScheduledStatusSerializer : REST::StatusSerializer
end