mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: remove return in res status
This commit is contained in:
@@ -47,9 +47,10 @@ export default async function handler(
|
|||||||
webhookDockerTag &&
|
webhookDockerTag &&
|
||||||
webhookDockerTag !== applicationDockerTag
|
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}).`,
|
message: `Application Image Tag (${applicationDockerTag}) doesn't match request event payload Image Tag (${webhookDockerTag}).`,
|
||||||
});
|
});
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (sourceType === "github") {
|
else if (sourceType === "github") {
|
||||||
|
|||||||
Reference in New Issue
Block a user