From 17be9b49c47243fa1e97c4b458fed3261500aa00 Mon Sep 17 00:00:00 2001 From: "Jakob L. Kreuze" Date: Tue, 23 Aug 2022 20:48:14 -0400 Subject: [dynamic] Fix shadowing bug introduced by refactoring --- dynamic/api.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dynamic/api.scm b/dynamic/api.scm index 22a9856..86bc23d 100644 --- a/dynamic/api.scm +++ b/dynamic/api.scm @@ -65,10 +65,10 @@ (cons '(Access-Control-Allow-Origin . "*") response))) (let* ((path-encoded (uri-path (request-uri request))) (path (split-and-decode-uri-path path-encoded))) - (define-values (response body) + (define-values (response resp-body) (if (string= "api" (first path)) (handle-api-request request body (drop path 1)) (not-found request))) - (values (wrap-response response) body))) + (values (wrap-response response) resp-body))) (run-server main-request-handler) -- cgit v1.3