~vpzom/lotide

740e8e7107e0971796d1d903d445c6db76fcf92c — Colin Reeder 4 months ago 38ef280
Fix ThingLocalRef serialization
1 files changed, 2 insertions(+), 1 deletions(-)

M src/main.rs
M src/main.rs => src/main.rs +2 -1
@@ 340,7 340,8 @@ pub enum ActorLocalRef {
}

#[derive(Clone, Copy, Debug, Serialize)]
#[serde(tag = "type")]
#[serde(tag = "type", content = "id")]
#[serde(rename_all = "snake_case")]
pub enum ThingLocalRef {
    Post(PostLocalID),
    Comment(CommentLocalID),