Update InboxValidator, oof

This commit is contained in:
Daniel Supernault 2020-05-21 20:58:31 -06:00
parent 011e2c964c
commit 2ab58fb723
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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;
} }