diff options
author | Alexander_Kabui | 2024-08-12 15:45:28 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-08-12 15:45:28 +0300 |
commit | 9e4993e419063e13f967ae03c6794898edbcdf6e (patch) | |
tree | 3a8a3a1d431815fd16b9f916d9fdc33d6f453f7e /web | |
parent | 18148135117d8f1d5070cdf1e74f30b7e56bdb91 (diff) | |
download | gn-guile-9e4993e419063e13f967ae03c6794898edbcdf6e.tar.gz |
Bugfix: return correct status code for edit api.
Diffstat (limited to 'web')
-rw-r--r-- | web/webserver.scm | 2 |
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")))) |