fix(notification): updated cloud subscription links to valid url (#9296)
This commit is contained in:
commit
30c7ab7b7d
2 changed files with 5 additions and 5 deletions
|
|
@ -40,7 +40,7 @@ public function toDiscord(): DiscordMessage
|
|||
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;
|
||||
}
|
||||
|
|
@ -48,7 +48,7 @@ public function toDiscord(): DiscordMessage
|
|||
public function toTelegram(): array
|
||||
{
|
||||
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(
|
||||
title: 'Server disabled',
|
||||
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';
|
||||
$description = "Server ({$this->server->name}) disabled because it is not paid!\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(
|
||||
title: $title,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<x-emails.layout>
|
||||
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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue