mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 06:58:52 +00:00
Update comment.rs
This commit is contained in:
parent
71d7ed8b7a
commit
8700acdc69
|
@ -117,7 +117,9 @@ impl Crud for Comment {
|
|||
type UpdateForm = CommentUpdateForm;
|
||||
type IdType = CommentId;
|
||||
|
||||
/// This is unimplemented, use [[Comment::create]]
|
||||
async fn create(pool: &mut DbPool<'_>, comment_form: &Self::InsertForm) -> Result<Self, Error> {
|
||||
debug_assert!(false);
|
||||
Comment::create(pool, comment_form, None).await
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue