We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd4746c + 1bc666b commit 4a0ed0cCopy full SHA for 4a0ed0c
src/index.ts
@@ -22,8 +22,8 @@ const server = createServer(async (request, response) => {
22
let verifyAndParseRequestResult: Awaited<ReturnType<typeof verifyAndParseRequest>>;
23
const apiKey = request.headers["x-github-token"] as string;
24
try {
25
- const signature = request.headers["github-public-key-signature"] as string;
26
- const keyID = request.headers["github-public-key-identifier"] as string;
+ const signature = request.headers["x-github-public-key-signature"] as string;
+ const keyID = request.headers["x-github-public-key-identifier"] as string;
27
verifyAndParseRequestResult = await verifyAndParseRequest(body, signature, keyID, {
28
token: apiKey,
29
});
0 commit comments