We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1804608 commit 695b263Copy full SHA for 695b263
modules/webhook/lambdas/webhook/src/webhook/handler.ts
@@ -82,11 +82,7 @@ function readEnvironmentVariables() {
82
return { environment, repositoryWhiteList, queuesConfig };
83
}
84
85
-async function verifySignature(
86
- githubEvent: string,
87
- headers: IncomingHttpHeaders,
88
- body: string
89
-): Promise<number> {
+async function verifySignature(githubEvent: string, headers: IncomingHttpHeaders, body: string): Promise<number> {
90
let signature;
91
if ('x-hub-signature-256' in headers) {
92
signature = headers['x-hub-signature-256'] as string;
0 commit comments