let updated_comment = Comment::update(
&mut context.pool(),
comment_id,
- &CommentUpdateForm::builder().removed(Some(removed)).build(),
+ &CommentUpdateForm {
+ removed: Some(removed),
+ ..Default::default()
+ },
)
.await
.with_lemmy_type(LemmyErrorType::CouldntUpdateComment)?;