From fc6df3ae0528d3a2fc63acc0e592cabd238738e5 Mon Sep 17 00:00:00 2001 From: OpenClaw Bot Date: Wed, 22 Apr 2026 00:04:44 +0000 Subject: [PATCH] fix(webhook): cast signature to string to fix TS2345 --- apps/dokploy/pages/api/deploy/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/pages/api/deploy/github.ts b/apps/dokploy/pages/api/deploy/github.ts index eadc80a21..8aeffdf47 100644 --- a/apps/dokploy/pages/api/deploy/github.ts +++ b/apps/dokploy/pages/api/deploy/github.ts @@ -53,7 +53,7 @@ export default async function handler( secret: githubResult.githubWebhookSecret, }); - const verified = await webhooks.verify(JSON.stringify(githubBody), signature); + const verified = await webhooks.verify(JSON.stringify(githubBody), signature as string); if (!verified) { res.status(401).json({ message: "Unauthorized" });