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