X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fapub%2Fsrc%2Fmigrations.rs;h=493518fe30f2e7f97c16ef2ee7a8847456b20785;hb=527eefbe92a4796b957fb232831f7e7c80511ed9;hp=59eeacce9252a1b19ac4ceaa7a6ac5e1846db4f6;hpb=21346eb786dc75efaca19e6de8a514fab3d33da8;p=lemmy.git diff --git a/crates/apub/src/migrations.rs b/crates/apub/src/migrations.rs index 59eeacce..493518fe 100644 --- a/crates/apub/src/migrations.rs +++ b/crates/apub/src/migrations.rs @@ -1,3 +1,4 @@ +use crate::fetcher::{object_id::ObjectId, post_or_comment::PostOrComment}; use serde::{Deserialize, Serialize}; use url::Url; @@ -13,7 +14,7 @@ use url::Url; #[serde(untagged)] pub enum CommentInReplyToMigration { Old(Vec), - New(Url), + New(ObjectId), } // Another migration we are doing is to handle all deletions and removals using Delete activity.