From e88d02c5cf0ddf440d39e26ec317de3985981a09 Mon Sep 17 00:00:00 2001 From: SouthFox Date: Sun, 10 Sep 2023 17:30:56 +0800 Subject: [PATCH] [back/perf] thanks_count -> voteup_count --- src/main/backend/handlers.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/backend/handlers.clj b/src/main/backend/handlers.clj index e91e158..ebba761 100644 --- a/src/main/backend/handlers.clj +++ b/src/main/backend/handlers.clj @@ -106,7 +106,7 @@ :created_time (get-in m ["target" "created_time"]) :updated_time (get-in m ["target" "updated_time"]) :comment_count (get-in m ["target" "comment_count"]) - :thanks_count (get-in m ["target" "thanks_count"])}) + :voteup_count (get-in m ["target" "voteup_count"])}) (into {} {:author {:avatar_url (get-in m ["author" "avatarUrl"]) @@ -117,7 +117,7 @@ :created_time (get m "createdTime") :updated_time (get m "updatedTime") :comment_count (get m "commentCount") - :thanks_count (get m "thanksCount")}))) + :voteup_count (get m "voteupCount")}))) (defn build-question [m]