fix(notification): updated cloud subscription links to valid url
This commit is contained in:
parent
9ccdbf66b0
commit
31ae8dd9db
2 changed files with 5 additions and 5 deletions
|
|
@ -40,7 +40,7 @@ public function toDiscord(): DiscordMessage
|
||||||
color: DiscordMessage::errorColor(),
|
color: DiscordMessage::errorColor(),
|
||||||
);
|
);
|
||||||
|
|
||||||
$message->addField('Please update your subscription to enable the server again!', '[Link](https://app.coolify.io/subscriptions)');
|
$message->addField('Please update your subscription to enable the server again!', '[Link](https://app.coolify.io/subscription)');
|
||||||
|
|
||||||
return $message;
|
return $message;
|
||||||
}
|
}
|
||||||
|
|
@ -48,7 +48,7 @@ public function toDiscord(): DiscordMessage
|
||||||
public function toTelegram(): array
|
public function toTelegram(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'message' => "Coolify: Server ({$this->server->name}) disabled because it is not paid!\n All automations and integrations are stopped.\nPlease update your subscription to enable the server again [here](https://app.coolify.io/subscriptions).",
|
'message' => "Coolify: Server ({$this->server->name}) disabled because it is not paid!\n All automations and integrations are stopped.\nPlease update your subscription to enable the server again [here](https://app.coolify.io/subscription).",
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -57,7 +57,7 @@ public function toPushover(): PushoverMessage
|
||||||
return new PushoverMessage(
|
return new PushoverMessage(
|
||||||
title: 'Server disabled',
|
title: 'Server disabled',
|
||||||
level: 'error',
|
level: 'error',
|
||||||
message: "Server ({$this->server->name}) disabled because it is not paid!\n All automations and integrations are stopped.<br/>Please update your subscription to enable the server again [here](https://app.coolify.io/subscriptions).",
|
message: "Server ({$this->server->name}) disabled because it is not paid!\n All automations and integrations are stopped.<br/>Please update your subscription to enable the server again [here](https://app.coolify.io/subscription).",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -66,7 +66,7 @@ public function toSlack(): SlackMessage
|
||||||
$title = 'Server disabled';
|
$title = 'Server disabled';
|
||||||
$description = "Server ({$this->server->name}) disabled because it is not paid!\n";
|
$description = "Server ({$this->server->name}) disabled because it is not paid!\n";
|
||||||
$description .= "All automations and integrations are stopped.\n\n";
|
$description .= "All automations and integrations are stopped.\n\n";
|
||||||
$description .= 'Please update your subscription to enable the server again: https://app.coolify.io/subscriptions';
|
$description .= 'Please update your subscription to enable the server again: https://app.coolify.io/subscription';
|
||||||
|
|
||||||
return new SlackMessage(
|
return new SlackMessage(
|
||||||
title: $title,
|
title: $title,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<x-emails.layout>
|
<x-emails.layout>
|
||||||
Your server ({{ $name }}) disabled because it is not paid! All automations and integrations are stopped.
|
Your server ({{ $name }}) disabled because it is not paid! All automations and integrations are stopped.
|
||||||
|
|
||||||
Please update your subscription to enable the server again [here](https://app.coolify.io/subscriptions).
|
Please update your subscription to enable the server again [here](https://app.coolify.io/subscription).
|
||||||
</x-emails.layout>
|
</x-emails.layout>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue