Skip to content

Commit 77dd1c4

Browse files
committed
bugfix: aider messed it up
1 parent 63f5af8 commit 77dd1c4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

consult-hn.el

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,7 @@ RESULT is the parsed JSON response from the HN API."
309309
(with-temp-buffer
310310
(insert comment-markup)
311311
(dom-texts (libxml-parse-html-region)))))
312-
(title (or (geth
313-
314-
"title" x)
312+
(title (or (gethash "title" x)
315313
(gethash "story_title" x)))
316314
(story-url (or (gethash "story_url" x)
317315
(gethash "url" x)))

0 commit comments

Comments
 (0)