Merge branch 'comments-and-ratings' into 'main'
loadReactionsBy kind fix See merge request discoursio/discoursio-api!12
This commit is contained in:
commit
c224ed8f62
|
@ -324,6 +324,9 @@ async def load_reactions_by(_, _info, by, limit=50, offset=0):
|
||||||
"commented": commented_stat,
|
"commented": commented_stat,
|
||||||
"reacted": reacted_stat
|
"reacted": reacted_stat
|
||||||
}
|
}
|
||||||
|
|
||||||
|
reaction.kind = reaction.kind.name
|
||||||
|
|
||||||
reactions.append(reaction)
|
reactions.append(reaction)
|
||||||
|
|
||||||
# ?
|
# ?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user