FIX: removed + in Project Name
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dominik Meyer 2024-03-09 19:37:47 +01:00
parent c493105397
commit 35c87bac6c
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -57,7 +57,10 @@ sub redmine2ntfy
my $entityUrl=$4; my $entityUrl=$4;
my $entityName=$5; my $entityName=$5;
my $author=$6; my $author=$6;
$author =~ s/\+/ /g; $author =~ s/\+/ /g;
$projectName=~ s/\+/ /g;
my $status; my $status;
if ($entity eq "Issue") if ($entity eq "Issue")
@ -65,6 +68,8 @@ sub redmine2ntfy
$entityName=~s/\+/ /g; $entityName=~s/\+/ /g;
} }
my $title = "$entity update for $projectName"; my $title = "$entity update for $projectName";
my $text = "There has been an $entity update for project [$projectName]($projectUrl) by $author on [$entityName]($entityUrl)"; my $text = "There has been an $entity update for project [$projectName]($projectUrl) by $author on [$entityName]($entityUrl)";