Update Endpoints.cs
This commit is contained in:
parent
2bd4a9b6e9
commit
7f839555cf
|
|
@ -25,7 +25,7 @@ public class ElsaEndpoint<TRequest, TResponse> : Endpoint<TRequest, TResponse> w
|
|||
}
|
||||
}
|
||||
|
||||
public class ElsaEndpoint<TRequest> : Endpoint<TRequest> where TRequest : notnull
|
||||
public class ElsaEndpoint<TRequest> : Endpoint<TRequest> where TRequest : notnull, new()
|
||||
{
|
||||
protected void ConfigurePermissions(params string[] permissions)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue