Include news text preview in Telegram notification
CI / Backend (build + test) (push) Failing after 1m26s
CI / Frontend (lint + typecheck + build) (push) Successful in 37s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mrleo1nidandClaude Opus 5.5 committed 2026-10-13 17:25:36 +03:00
1 parent 94b02242ed
commit 0dcbd4e2b8
5 files changed
+100 -3

No files matched your search

@@ -26,7 +26,11 @@ public sealed class CreatePostCommandHandler(
post.CreatedAt,
cancellationToken
);
await telegramNotifier.NotifyUsersNewsPublishedAsync(post.Title, cancellationToken);
await telegramNotifier.NotifyUsersNewsPublishedAsync(
post.Title,
post.Body,
cancellationToken
);
return Result.Success(NewsPostDto.FromDomain(post));
}