1
0
Fork 0

Fix duplicate summary_type key in request object

This commit is contained in:
Bram Schoenmakers 2024-02-04 08:29:33 +01:00
parent 224972590a
commit 8d33f85234
Signed by: bram
GPG key ID: 0CCD19DFDC63258F

View file

@ -332,9 +332,8 @@ configuration. The given ITEMS are appended to it, which is a
list of conses."
(append items
`(("engine" . ,kagi-summarizer-engine)
("summary_type" . "summary")
("cache" . ,kagi-summarizer-cache)
("summary_type" . ,kagi-summarizer-default-summary-format))
("summary_type" . ,kagi-summarizer-default-summary-format)
("cache" . ,kagi-summarizer-cache))
;; prevent a nil in the result list, causing (json-encode)
;; to generate a wrong request object.