aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2025-01-14 14:01:16 +0000
committerChristopher Baines <mail@cbaines.net>2025-01-14 14:01:16 +0000
commit70df5af752ba9ed9dc414d011a1358babc5e40b1 (patch)
tree776279749862a5ba2662a4603722cdad60ea108b
parenta6f0fc583eba44c58ae0c91861e23d0acc663974 (diff)
downloadnar-herder-70df5af752ba9ed9dc414d011a1358babc5e40b1.tar
nar-herder-70df5af752ba9ed9dc414d011a1358babc5e40b1.tar.gz
Fix the request handler interface
The knots web server doesn't read the request body.
-rw-r--r--nar-herder/server.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/nar-herder/server.scm b/nar-herder/server.scm
index b904675..a22d507 100644
--- a/nar-herder/server.scm
+++ b/nar-herder/server.scm
@@ -229,7 +229,9 @@
(map symbol->string
%compression-options))
- (lambda (request body)
+ (lambda (request)
+ (define body (read-request-body request))
+
(log-msg logger
'DEBUG
(request-method request)