From 70891c00ca3faa50ca5e842728571c451b7d686b Mon Sep 17 00:00:00 2001 From: Blastbrean Date: Thu, 2 May 2024 17:02:52 -0700 Subject: [PATCH] per_page to perPage to fix pagination --- src/records.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/records.rs b/src/records.rs index f09afc5..27ec65e 100644 --- a/src/records.rs +++ b/src/records.rs @@ -45,7 +45,7 @@ impl<'a> RecordsListRequestBuilder<'a> { } let per_page_opts = self.per_page.to_string(); let page_opts = self.page.to_string(); - build_opts.push(("per_page", per_page_opts.as_str())); + build_opts.push(("perPage", per_page_opts.as_str())); build_opts.push(("page", page_opts.as_str())); match Httpc::get(self.client, &url, Some(build_opts)) {