]> Untitled Git - lemmy.git/blobdiff - crates/api_crud/src/post/update.rs
Use audience field to federate items in groups (fixes #2464) (#2584)
[lemmy.git] / crates / api_crud / src / post / update.rs
index f6a2e08416c23352b0a78b05693dcb877508030b..11b566bc92bcb1e9a4206ce7a0aff279e38f6bd8 100644 (file)
@@ -11,7 +11,7 @@ use lemmy_api_common::{
   },
 };
 use lemmy_apub::protocol::activities::{
-  create_or_update::post::CreateOrUpdatePost,
+  create_or_update::page::CreateOrUpdatePage,
   CreateOrUpdateType,
 };
 use lemmy_db_schema::{
@@ -122,7 +122,7 @@ impl PerformCrud for EditPost {
     };
 
     // Send apub update
-    CreateOrUpdatePost::send(
+    CreateOrUpdatePage::send(
       updated_post.into(),
       &local_user_view.person.clone().into(),
       CreateOrUpdateType::Update,