diff --git a/SimpleHttpServer/Types/EndpointInvocationInfo.cs b/SimpleHttpServer/Types/EndpointInvocationInfo.cs index adc6185..d5b0543 100644 --- a/SimpleHttpServer/Types/EndpointInvocationInfo.cs +++ b/SimpleHttpServer/Types/EndpointInvocationInfo.cs @@ -22,7 +22,7 @@ internal record EndpointInvocationInfo { /// internal readonly object? typeInstanceReference; - public EndpointInvocationInfo(MethodInfo methodInfo, List pathParameters, List queryParameters, InternalEndpointCheckAttribute[] requiredChecks, + public EndpointInvocationInfo(MethodInfo methodInfo, List pathParameters, List queryParameters, InternalEndpointCheckAttribute[] requiredChecks, object? typeInstanceReference) { this.methodInfo = methodInfo ?? throw new ArgumentNullException(nameof(methodInfo));