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;
|
||||
}
|
||||
if (!application?.autoDeploy) {
|
||||
res.status(400).json({ message: "Application Not Deployable" });
|
||||
res.status(400).json({
|
||||
message: "Automatic deployments are disabled for this application",
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,9 @@ export default async function handler(
|
||||
return;
|
||||
}
|
||||
if (!composeResult?.autoDeploy) {
|
||||
res.status(400).json({ message: "Compose Not Deployable" });
|
||||
res.status(400).json({
|
||||
message: "Automatic deployments are disabled for this compose",
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user