]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/migrations.rs
Rewrite fetcher (#1792)
[lemmy.git] / crates / apub / src / migrations.rs
index 59eeacce9252a1b19ac4ceaa7a6ac5e1846db4f6..493518fe30f2e7f97c16ef2ee7a8847456b20785 100644 (file)
@@ -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<Url>),
-  New(Url),
+  New(ObjectId<PostOrComment>),
 }
 
 // Another migration we are doing is to handle all deletions and removals using Delete activity.