From b13537277f260f7b2c719edc9d78aa22a5cb8826 Mon Sep 17 00:00:00 2001 From: Jeremy Massel <1123407+jkmassel@users.noreply.github.com> Date: Sun, 5 Oct 2025 22:09:02 -0600 Subject: [PATCH] Fix bot conversation message pagination --- wp_api/src/wp_com/support_bots.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp_api/src/wp_com/support_bots.rs b/wp_api/src/wp_com/support_bots.rs index a67fc8a1..fb941c38 100644 --- a/wp_api/src/wp_com/support_bots.rs +++ b/wp_api/src/wp_com/support_bots.rs @@ -135,8 +135,8 @@ pub struct GetBotConversationParams { impl AppendUrlQueryPairs for GetBotConversationParams { fn append_query_pairs(&self, query_pairs_mut: &mut QueryPairs) { query_pairs_mut - .append_option_query_value_pair("page", self.page_number.as_ref()) - .append_option_query_value_pair("per_page", self.items_per_page.as_ref()) + .append_option_query_value_pair("page_number", self.page_number.as_ref()) + .append_option_query_value_pair("items_per_page", self.items_per_page.as_ref()) .append_query_value_pair("include_feedback", &self.include_feedback.to_string()); } }