[documents] fix rating query on doc table

parent 340bddf6
......@@ -52,8 +52,8 @@ ratingCpt = here.component "rating" cpt where
, session
, setLocalCategories
} _ = do
pure $ renderRatingSimple { docId: nodeId
, corpusId: r._id
pure $ renderRatingSimple { docId: r._id
, corpusId: nodeId
, category: star2score score
, session } []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment