Browse Source

Update InboxValidator, oof

Daniel Supernault 5 years ago
parent
commit
2ab58fb723
1 changed files with 4 additions and 2 deletions
  1. 4 2
      app/Jobs/InboxPipeline/InboxValidator.php

+ 4 - 2
app/Jobs/InboxPipeline/InboxValidator.php

@@ -64,9 +64,11 @@ class InboxValidator implements ShouldQueue
         }
         }
 
 
         if($this->verifySignature($headers, $profile, $payload) == true) {
         if($this->verifySignature($headers, $profile, $payload) == true) {
-            (new Inbox($headers, $profile, $payload))->handle()
+            (new Inbox($headers, $profile, $payload))->handle();
+            return;
         } else if($this->blindKeyRotation($headers, $profile, $payload) == true) {
         } else if($this->blindKeyRotation($headers, $profile, $payload) == true) {
-            (new Inbox($headers, $profile, $payload))->handle()
+            (new Inbox($headers, $profile, $payload))->handle();
+            return;
         } else {
         } else {
             return;
             return;
         }
         }