Fixed crash loop

This commit is contained in:
2026-10-30 12:50:47 +02:00
parent 4fa379f74e
commit ff69aee6d3
2 changed files with 58 additions and 1 deletions
@@ -3,7 +3,7 @@ namespace PostFundManagement.Application.Mcp;
/// <summary>
/// Token-optimized standardized tool response wrapper for MCP tool execution.
/// </summary>
public record Records<T>(bool Success, T? Data = default, string? Message = null, IReadOnlyList<string>? Errors = null)
public record Records<T>(bool Success, T? Data, string? Message = null, IReadOnlyList<string>? Errors = null)
{
public static Records<T> Ok(T data, string? message = null) => new(true, data, message, null);