X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fapi_common%2Fsrc%2Fcomment.rs;h=df3ddbafacbe7a31537b0d55adc315046eeba7b4;hb=870abf84424f05f1f733b30ec6d6c9031f96edba;hp=dc2360edd7c8c5fb2ea6cc0c5e868838954feb5e;hpb=583ceb25063ce0d2fdd5f30708beb75e566d40a2;p=lemmy.git diff --git a/crates/api_common/src/comment.rs b/crates/api_common/src/comment.rs index dc2360ed..df3ddbaf 100644 --- a/crates/api_common/src/comment.rs +++ b/crates/api_common/src/comment.rs @@ -24,8 +24,9 @@ pub struct GetComment { #[derive(Debug, Serialize, Deserialize, Clone, Default)] pub struct EditComment { - pub content: String, pub comment_id: CommentId, + pub content: Option, + pub distinguished: Option, pub form_id: Option, pub auth: Sensitive, }