fix: serde json output

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-04-02 17:49:23 -03:00
parent d59d3a2849
commit ee40337e04

View File

@@ -13,6 +13,7 @@ impl<'a> NPF<'a> {
}
#[derive(Debug, Deserialize, Serialize, Clone)]
#[serde(untagged)]
pub enum ContentType<'a> {
#[serde(borrow)]
Text(content_types::Text<'a>),