mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor(webhook): change autodeploy message
This commit is contained in:
parent
6be6ec940a
commit
f6128bdf0c
@ -27,7 +27,9 @@ export default async function handler(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!application?.autoDeploy) {
|
if (!application?.autoDeploy) {
|
||||||
res.status(400).json({ message: "Application Not Deployable" });
|
res.status(400).json({
|
||||||
|
message: "Automatic deployments are disabled for this application",
|
||||||
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,7 +32,9 @@ export default async function handler(
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!composeResult?.autoDeploy) {
|
if (!composeResult?.autoDeploy) {
|
||||||
res.status(400).json({ message: "Compose Not Deployable" });
|
res.status(400).json({
|
||||||
|
message: "Automatic deployments are disabled for this compose",
|
||||||
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user