Skip to main content

insert_page_history_for_copies

Function insert_page_history_for_copies 

Source
async fn insert_page_history_for_copies(
    tx: &mut PgConnection,
    page_ids: &[Uuid],
    author_user_id: Uuid,
) -> ModelResult<()>
Expand description

Records each copied page’s final state as its first history entry, as saving it in the CMS would. The chatbot syncer only indexes pages that have one.