Skip to content

Commit

Permalink
fix: Update error message for invalid token to mention invalid signature
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed May 23, 2024
1 parent 244c815 commit c3da3f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Webhook/Bitbucket.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function manual(Request $request)
$return_payloads->push([
'application' => $application->name,
'status' => 'failed',
'message' => 'Invalid token.',
'message' => 'Invalid signature.',
]);
ray('Invalid signature');
continue;
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Webhook/Github.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function manual(Request $request)
$return_payloads->push([
'application' => $application->name,
'status' => 'failed',
'message' => 'Invalid token.',
'message' => 'Invalid signature.',
]);
continue;
}
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Webhook/Gitlab.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function manual(Request $request)
$return_payloads->push([
'application' => $application->name,
'status' => 'failed',
'message' => 'Invalid token.',
'message' => 'Invalid signature.',
]);
ray('Invalid signature');
continue;
Expand Down

0 comments on commit c3da3f1

Please sign in to comment.