commit 4b0566a5e8dd0ba2c284f2cc5fd006a0773373d0
parent c3e86900524f2a70142300d5169a52ab42f09614
Author: Silas Brack <silasbrack@gmail.com>
Date: Sat, 25 Apr 2026 11:17:50 +0200
fix: use cursor instead of total_count for TrailBase pagination
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/trailbase.rs b/src/trailbase.rs
@@ -26,7 +26,7 @@ pub struct SearchResult {
struct ListResponse<T> {
records: Vec<T>,
#[allow(dead_code)]
- total_count: i64,
+ cursor: Option<String>,
}
#[derive(Debug, Serialize)]