mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-05 13:21:18 +00:00
Return value of search_type in /config/type API endpoint
- Remove need for interfaces to downcase content types returned by API before using the type in search and other API endpoint - Fix to check for search_type.name in plugin keys instead of value
This commit is contained in:
@@ -281,7 +281,6 @@ Use `which-key` if available, else display simple message in echo area"
|
||||
(url-insert-file-contents config-url)
|
||||
(thread-last
|
||||
(json-parse-buffer :object-type 'alist)
|
||||
(mapcar 'downcase)
|
||||
(mapcar 'intern)))))
|
||||
|
||||
(defun khoj--construct-api-query (query content-type &optional rerank)
|
||||
|
||||
Reference in New Issue
Block a user