fix error with sending responses
This commit is contained in:
@@ -29,6 +29,6 @@ public class DeleteReviewEndpoint(ReviewRepository reviewRepository) : Endpoint<
|
||||
}
|
||||
|
||||
await reviewRepository.DeleteAsync(review, ct);
|
||||
await Send.OkAsync(cancellation: ct);
|
||||
await Send.NoContentAsync(ct);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user