diff options
author | Frederick Muriuki Muriithi | 2024-11-01 11:51:20 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-11-01 11:51:20 -0500 |
commit | ce3c07b554dfa71f17aae7c95650b809f221fbd3 (patch) | |
tree | f56b6a9d63745c79ed66ef53769b2dec33dc8c75 /web/webserver.scm | |
parent | 9b3a2172c63578bf7ca6224da10be5ad951a2de1 (diff) | |
download | gn-guile-ce3c07b554dfa71f17aae7c95650b809f221fbd3.tar.gz |
Make error details into pairs.
Diffstat (limited to 'web/webserver.scm')
-rw-r--r-- | web/webserver.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/webserver.scm b/web/webserver.scm index c13397e..6f40614 100644 --- a/web/webserver.scm +++ b/web/webserver.scm @@ -214,8 +214,8 @@ otherwise search for set/group data" (lambda (key . args) (let ((msg (car args))) (build-json-response 400 - `(("error" ,key) - ("msg" ,msg))))))) + `(("error" . ,key) + ("msg" . ,msg))))))) (define (controller request body) (match-lambda |