[back/perf] thanks_count -> voteup_count
This commit is contained in:
parent
160147ad8e
commit
e88d02c5cf
1 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@
|
||||||
:created_time (get-in m ["target" "created_time"])
|
:created_time (get-in m ["target" "created_time"])
|
||||||
:updated_time (get-in m ["target" "updated_time"])
|
:updated_time (get-in m ["target" "updated_time"])
|
||||||
:comment_count (get-in m ["target" "comment_count"])
|
: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 {}
|
(into {}
|
||||||
{:author {:avatar_url (get-in m ["author" "avatarUrl"])
|
{:author {:avatar_url (get-in m ["author" "avatarUrl"])
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
:created_time (get m "createdTime")
|
:created_time (get m "createdTime")
|
||||||
:updated_time (get m "updatedTime")
|
:updated_time (get m "updatedTime")
|
||||||
:comment_count (get m "commentCount")
|
:comment_count (get m "commentCount")
|
||||||
:thanks_count (get m "thanksCount")})))
|
:voteup_count (get m "voteupCount")})))
|
||||||
|
|
||||||
(defn build-question
|
(defn build-question
|
||||||
[m]
|
[m]
|
||||||
|
|
Loading…
Reference in a new issue