diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-24 13:03:51 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-24 13:03:51 -0500 |
commit | 4415e8b047cbbe9567461dad2dc54798f0eacfac (patch) | |
tree | c877040663427f2adeda29f9c180bb08a9e8872e /app/controllers | |
parent | 25d628fca314aebb25e3976f006cc96629a3d780 (diff) |
success message when processing bangtags-only scripts
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/api/v1/statuses_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/statuses_controller.rb b/app/controllers/api/v1/statuses_controller.rb index 305e8d113..fa3483822 100644 --- a/app/controllers/api/v1/statuses_controller.rb +++ b/app/controllers/api/v1/statuses_controller.rb @@ -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 |