summaryrefslogtreecommitdiff
path: root/src/gizmo/wasp-aoc.el
diff options
context:
space:
mode:
Diffstat (limited to 'src/gizmo/wasp-aoc.el')
-rw-r--r--src/gizmo/wasp-aoc.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gizmo/wasp-aoc.el b/src/gizmo/wasp-aoc.el
index 4c287add..c6875048 100644
--- a/src/gizmo/wasp-aoc.el
+++ b/src/gizmo/wasp-aoc.el
@@ -10,7 +10,7 @@
(require 'request)
(require 'wasp-sensitive)
-(defcustom w/aoc-leaderboard-url "https://adventofcode.com/2024/leaderboard/private/view/3307583.json"
+(defcustom w/aoc-leaderboard-url "https://adventofcode.com/2025/leaderboard/private/view/3307583.json"
"URL for Advent of Code API."
:type '(string)
:group 'wasp)
@@ -35,6 +35,7 @@
("ctrl_o" . "control-o")
("whimsicallymade" . "aecepoglu")
("chromosundrift" . "christo")
+ ("partycatlol" . "papercatlol")
))
(defun w/aoc-max-stars ()
@@ -55,7 +56,9 @@ Pass the resulting JSON to K."
:type "GET"
:headers
`(("Cookie" . ,(format "session=%s" w/sensitive-aoc-session-cookie)))
- :parser #'json-parse-buffer
+ :parser
+ (lambda ()
+ (json-parse-buffer))
:success
(cl-function
(lambda (&key data &allow-other-keys)