about summary refs log tree commit diff
path: root/app/controllers/api/v1
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-24 13:03:51 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-24 13:03:51 -0500
commit4415e8b047cbbe9567461dad2dc54798f0eacfac (patch)
treec877040663427f2adeda29f9c180bb08a9e8872e /app/controllers/api/v1
parent25d628fca314aebb25e3976f006cc96629a3d780 (diff)
success message when processing bangtags-only scripts
Diffstat (limited to 'app/controllers/api/v1')
-rw-r--r--app/controllers/api/v1/statuses_controller.rb2
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