aboutsummaryrefslogtreecommitdiff
path: root/web/webserver.scm
diff options
context:
space:
mode:
authorAlexander_Kabui2024-08-12 15:45:28 +0300
committerAlexander_Kabui2024-08-12 15:45:28 +0300
commit9e4993e419063e13f967ae03c6794898edbcdf6e (patch)
tree3a8a3a1d431815fd16b9f916d9fdc33d6f453f7e /web/webserver.scm
parent18148135117d8f1d5070cdf1e74f30b7e56bdb91 (diff)
downloadgn-guile-9e4993e419063e13f967ae03c6794898edbcdf6e.tar.gz
Bugfix: return correct status code for edit api.
Diffstat (limited to 'web/webserver.scm')
-rw-r--r--web/webserver.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/webserver.scm b/web/webserver.scm
index 7412e15..145f192 100644
--- a/web/webserver.scm
+++ b/web/webserver.scm
@@ -164,7 +164,7 @@ otherwise search for set/group data"
(query-path (assoc-ref params
'file_path)))
(if query-path
- (build-json-response 400
+ (build-json-response 200
(fetch-file repo query-path))
(throw 'file-error
"Please provide a valid file path in the query"))))