From 9e4993e419063e13f967ae03c6794898edbcdf6e Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Mon, 12 Aug 2024 15:45:28 +0300 Subject: Bugfix: return correct status code for edit api. --- web/webserver.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') 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")))) -- cgit v1.2.3