fix error with sending responses
This commit is contained in:
@@ -16,6 +16,6 @@ public class CreateMemberEndpoint(MemberRepository memberRepository, AutoMapper.
|
||||
public override async Task HandleAsync(CreateMemberDto req, CancellationToken ct)
|
||||
{
|
||||
await memberRepository.AddAsync(mapper.Map<Member>(req), ct);
|
||||
await Send.OkAsync(cancellation: ct);
|
||||
await Send.NoContentAsync(ct);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user