fix error with sending responses
This commit is contained in:
@@ -51,6 +51,6 @@ public class CreateReviewEndpoint(
|
||||
}
|
||||
|
||||
await reviewRepository.AddAsync(mapper.Map<Review>(req), ct);
|
||||
await Send.OkAsync(cancellation: ct);
|
||||
await Send.NoContentAsync(ct);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user