aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAlexander_Kabui2024-08-05 13:36:56 +0300
committerAlexander_Kabui2024-08-05 13:36:56 +0300
commit8f4bbd83357a8fce05bc8c3bfeb477533a7cd874 (patch)
tree08d3c960845552b193151dd5a99124d454340e69 /web
parent692865ed95877071020698be88acc190f244d155 (diff)
downloadgn-guile-8f4bbd83357a8fce05bc8c3bfeb477533a7cd874.tar.gz
Minor fixes: remove todo.
Diffstat (limited to 'web')
-rwxr-xr-xweb/webserver.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/web/webserver.scm b/web/webserver.scm
index bb07afd..a44181c 100755
--- a/web/webserver.scm
+++ b/web/webserver.scm
@@ -167,10 +167,8 @@ otherwise search for set/group data"
(lambda ()
(let* ((params (decode-query (uri-query (request-uri request)))) (query_path (assoc-ref params 'file_path)))
(if query_path
- ;;TODO add check for is repo
- (build-json-response 400 (fetch-file repo query_path))
- (throw 'file-error (string-append "Please provide a valid file path in the query"))
- )
+ (build-json-response 400 (fetch-file repo query_path))
+ (throw 'file-error (string-append "Please provide a valid file path in the query")))
)
)
(lambda (key . args)