mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-12 15:05:19 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -53,7 +53,10 @@ export default async function handler(
|
|||||||
secret: githubResult.githubWebhookSecret,
|
secret: githubResult.githubWebhookSecret,
|
||||||
});
|
});
|
||||||
|
|
||||||
const verified = await webhooks.verify(JSON.stringify(githubBody), signature as string);
|
const verified = await webhooks.verify(
|
||||||
|
JSON.stringify(githubBody),
|
||||||
|
signature as string,
|
||||||
|
);
|
||||||
|
|
||||||
if (!verified) {
|
if (!verified) {
|
||||||
res.status(401).json({ message: "Unauthorized" });
|
res.status(401).json({ message: "Unauthorized" });
|
||||||
|
|||||||
Reference in New Issue
Block a user