diff --git a/bot-core/src/main/java/dev/struchkov/bot/gitlab/core/service/parser/PipelineParser.java b/bot-core/src/main/java/dev/struchkov/bot/gitlab/core/service/parser/PipelineParser.java index 4e25be2..4da35ca 100644 --- a/bot-core/src/main/java/dev/struchkov/bot/gitlab/core/service/parser/PipelineParser.java +++ b/bot-core/src/main/java/dev/struchkov/bot/gitlab/core/service/parser/PipelineParser.java @@ -149,7 +149,7 @@ public class PipelineParser { .projectId(pipeline.getProjectId()) .pipelineId(pipeline.getId()) .urlPipeline(gitlabProperty.getPipelineUrl()) - .gitlabToken(gitlabProperty.getPipelineUrl()) + .gitlabToken(personProperty.getToken()) .build() ) .map(forkJoinPool::submit) diff --git a/telegram-bot/src/main/java/dev/struchkov/bot/gitlab/telegram/service/notify/NewMrForAssigneeNotifyGenerator.java b/telegram-bot/src/main/java/dev/struchkov/bot/gitlab/telegram/service/notify/NewMrForAssigneeNotifyGenerator.java index 1e64fcb..28d1764 100644 --- a/telegram-bot/src/main/java/dev/struchkov/bot/gitlab/telegram/service/notify/NewMrForAssigneeNotifyGenerator.java +++ b/telegram-bot/src/main/java/dev/struchkov/bot/gitlab/telegram/service/notify/NewMrForAssigneeNotifyGenerator.java @@ -32,7 +32,7 @@ public class NewMrForAssigneeNotifyGenerator implements NotifyBoxAnswerGenerator final StringBuilder builder = new StringBuilder(Icons.ASSIGNEE).append(" *You have become responsible*") .append(Icons.HR) - .append(notify.getTitle()); + .append(escapeMarkdown(notify.getTitle())); if (!labelText.isEmpty()) { builder.append("\n\n").append(labelText); diff --git a/telegram-bot/src/main/java/dev/struchkov/bot/gitlab/telegram/service/notify/UpdateMrNotifyGenerator.java b/telegram-bot/src/main/java/dev/struchkov/bot/gitlab/telegram/service/notify/UpdateMrNotifyGenerator.java index 7df0de2..511e038 100644 --- a/telegram-bot/src/main/java/dev/struchkov/bot/gitlab/telegram/service/notify/UpdateMrNotifyGenerator.java +++ b/telegram-bot/src/main/java/dev/struchkov/bot/gitlab/telegram/service/notify/UpdateMrNotifyGenerator.java @@ -26,7 +26,7 @@ public class UpdateMrNotifyGenerator implements NotifyBoxAnswerGenerator