diff options
author | Alexander_Kabui | 2024-08-05 13:36:56 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-08-05 13:36:56 +0300 |
commit | 8f4bbd83357a8fce05bc8c3bfeb477533a7cd874 (patch) | |
tree | 08d3c960845552b193151dd5a99124d454340e69 /web/webserver.scm | |
parent | 692865ed95877071020698be88acc190f244d155 (diff) | |
download | gn-guile-8f4bbd83357a8fce05bc8c3bfeb477533a7cd874.tar.gz |
Minor fixes: remove todo.
Diffstat (limited to 'web/webserver.scm')
-rwxr-xr-x | web/webserver.scm | 6 |
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) |