about summary refs log tree commit diff
path: root/app/controllers/api/subscriptions_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/api/subscriptions_controller.rb')
-rw-r--r--app/controllers/api/subscriptions_controller.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/controllers/api/subscriptions_controller.rb b/app/controllers/api/subscriptions_controller.rb
index 51c476436..135a5632e 100644
--- a/app/controllers/api/subscriptions_controller.rb
+++ b/app/controllers/api/subscriptions_controller.rb
@@ -19,10 +19,9 @@ class Api::SubscriptionsController < ApiController
 
     if subscription.verify(body, request.headers['HTTP_X_HUB_SIGNATURE'])
       ProcessingWorker.perform_async(@account.id, body.force_encoding('UTF-8'))
-      head 201
-    else
-      head 202
     end
+
+    head 200
   end
 
   private