Skip to content

Commit

Permalink
Fix fixture issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Jul 30, 2024
1 parent 94a161c commit eb54dcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/kitsune-type/src/ap/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use self::{actor::Actor, object::MediaAttachment};
use crate::jsonld::{self, RdfNode};
use iso8601_timestamp::Timestamp;
use serde::{Deserialize, Serialize};
use serde_with::{serde_as, OneOrMany};
use serde_with::{serde_as, DefaultOnNull, OneOrMany};
use sonic_rs::{json, Value};
use strum::AsRefStr;

Expand Down Expand Up @@ -176,7 +176,7 @@ pub struct Object {
#[serde_as(as = "OneOrMany<_>")]
pub tag: Vec<Tag>,
#[serde(default)]
#[serde_as(as = "jsonld::serde::First")]
#[serde_as(as = "DefaultOnNull<jsonld::serde::First>")]
pub sensitive: bool,
pub published: Timestamp,
#[serde(default)]
Expand Down

0 comments on commit eb54dcd

Please sign in to comment.