From ea6decb88e3fea6d1e04f997801e6ceb88a45e23 Mon Sep 17 00:00:00 2001 From: Aleteoryx Date: Fri, 22 Nov 2024 20:18:34 -0500 Subject: [PATCH] sigh, schemas --- src/feed.tcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/feed.tcl b/src/feed.tcl index 7b4cc1c..a16d1ee 100644 --- a/src/feed.tcl +++ b/src/feed.tcl @@ -63,7 +63,8 @@ namespace eval feed { } set feed_data_arr [::json::write array {*}$feed_data] set feed_contents [::json::write object \ - cursor [expr {$cursor + min([llength $feed_data], $limit)}] \ + cursor [::json::write string \ + [expr {$cursor + min([llength $feed_data], $limit)}]] \ feed $feed_data_arr] puts $sock "HTTP/1.0 200 OK" -- 2.45.2