use lemmy_apub::{
generate_local_apub_endpoint,
objects::post::ApubPost,
- protocol::activities::{create_or_update::post::CreateOrUpdatePost, CreateOrUpdateType},
+ protocol::activities::{create_or_update::page::CreateOrUpdatePage, CreateOrUpdateType},
EndpointType,
};
use lemmy_db_schema::{
}
let apub_post: ApubPost = updated_post.into();
- CreateOrUpdatePost::send(
+ CreateOrUpdatePage::send(
apub_post.clone(),
&local_user_view.person.clone().into(),
CreateOrUpdateType::Create,