diff --git a/src/modules/Elsa.UserTasks/Endpoints/UserTasksEndpoints.cs b/src/modules/Elsa.UserTasks/Endpoints/UserTasksEndpoints.cs index ae85bd66b..a04b7024e 100644 --- a/src/modules/Elsa.UserTasks/Endpoints/UserTasksEndpoints.cs +++ b/src/modules/Elsa.UserTasks/Endpoints/UserTasksEndpoints.cs @@ -558,7 +558,7 @@ internal sealed class ListParticipantsEndpoint(IUserTaskParticipantDirectory dir /// shape for valid and invalid tokens. /// internal abstract class AnonymousInvitationEndpointBase : Endpoint - where TRequest : notnull, new() + where TRequest : notnull where TResponse : notnull { protected async Task TryAcquireAsync(IUserTaskInvitationRateLimiter limiter, CancellationToken cancellationToken)