diff --git a/src/Nocr.Users.AppServices/Users/Services/UsersService.cs b/src/Nocr.Users.AppServices/Users/Services/UsersService.cs index d85c7d3..7981c53 100644 --- a/src/Nocr.Users.AppServices/Users/Services/UsersService.cs +++ b/src/Nocr.Users.AppServices/Users/Services/UsersService.cs @@ -56,12 +56,12 @@ public sealed class UsersService : IUsersService var user = await _repository.GetUserById(userId, cancellationToken); if (user == null) { - _logger.LogWarning("User with ID {UserId} not found for blocking bot", userId); + _logger.LogWarning("User with ID {UserId} not found for blocking bot.", userId); return; } await _repository.UpdateBotBlockedStatus(userId, true, cancellationToken); - _logger.LogInformation("Bot blocked for user {UserId}", userId); + _logger.LogInformation("Bot blocked for user {UserId}.", userId); } public async Task UnblockBot(long userId, CancellationToken cancellationToken = default) @@ -69,12 +69,12 @@ public sealed class UsersService : IUsersService var user = await _repository.GetUserById(userId, cancellationToken); if (user == null) { - _logger.LogWarning("User with ID {UserId} not found for unblocking bot", userId); + _logger.LogWarning("User with ID {UserId} not found for unblocking bot.", userId); return; } await _repository.UpdateBotBlockedStatus(userId, false, cancellationToken); - _logger.LogInformation("Bot unblocked for user {UserId}", userId); + _logger.LogInformation("Bot unblocked for user {UserId}.", userId); } private static UserData? MapToUserData(User? user)