fix error with sending responses
This commit is contained in:
@@ -35,6 +35,6 @@ public class DeleteAuthorEndpoint(AuthorRepository authorRepository) : Endpoint<
|
||||
}
|
||||
|
||||
await authorRepository.DeleteAsync(author, ct);
|
||||
await Send.OkAsync(cancellation: ct);
|
||||
await Send.NoContentAsync(ct);;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user