Disabled shared secret check and return 500 not 400 on error

This commit is contained in:
2020-09-09 10:59:17 -03:00
parent 9ba9e064dd
commit bd3c0fb660
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ class WebhookFailed extends Exception
{
public static function nonValidRequest()
{
return new static("Your shared secret does not match password in Apple's request", 400);
return new static("Your shared secret does not match password in Apple's request", 500);
}
public static function jobClassDoesNotExist(string $jobClass)