diff --git a/pages/api/deploy/[refreshToken].ts b/pages/api/deploy/[refreshToken].ts index 0552bf17c..24def5a4b 100644 --- a/pages/api/deploy/[refreshToken].ts +++ b/pages/api/deploy/[refreshToken].ts @@ -47,9 +47,10 @@ export default async function handler( webhookDockerTag && webhookDockerTag !== applicationDockerTag ) { - return res.status(301).json({ + res.status(301).json({ message: `Application Image Tag (${applicationDockerTag}) doesn't match request event payload Image Tag (${webhookDockerTag}).`, }); + return; } } else if (sourceType === "github") {