Skip to content

Commit 02eb6ff

Browse files
committed
fix: .paidOnly should use t instead of :json-true
1 parent e51b77a commit 02eb6ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

leetcode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ of QUERY-NAME."
590590
:title-slug .titleSlug
591591
:acceptance (format "%.1f%%" .acRate)
592592
:difficulty .difficulty
593-
:paid-only (eq .paidOnly :json-true)
593+
:paid-only (eq .paidOnly t)
594594
:tags (seq-reduce (lambda (tags tag)
595595
(let-alist tag
596596
(push .slug tags)))
@@ -762,7 +762,7 @@ Return a list of rows, each row is a vector:
762762
(p-title (concat
763763
(leetcode-problem-title p)
764764
" "
765-
(if (eq (leetcode-problem-paid-only p) t)
765+
(if (leetcode-problem-paid-only p)
766766
(leetcode--add-font-lock leetcode--paid 'leetcode-paid-face)
767767
" ")))
768768
(p-acceptance (leetcode-problem-acceptance p))

0 commit comments

Comments
 (0)