mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-19 15:11:36 +00:00
Update packages/server/src/utils/notifications/utils.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
@@ -110,7 +110,7 @@ export const formatTelegramErrorMessage = (errorMessage: string) => {
|
||||
if (escaped.length <= limit) return escaped;
|
||||
let end = limit;
|
||||
const ampIdx = escaped.lastIndexOf("&", end);
|
||||
if (ampIdx !== -1 && escaped.indexOf(";", ampIdx) > end) {
|
||||
if (ampIdx !== -1 && escaped.indexOf(";", ampIdx) >= end) {
|
||||
end = ampIdx;
|
||||
}
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user