refactor: remove return in res status

This commit is contained in:
Mauricio Siu 2024-05-25 16:17:34 -06:00 committed by GitHub
parent eef0bf6ff7
commit e174101377
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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") {