From 8f4bbd83357a8fce05bc8c3bfeb477533a7cd874 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Mon, 5 Aug 2024 13:36:56 +0300 Subject: Minor fixes: remove todo. --- web/webserver.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'web') 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) -- cgit v1.2.3