[documents] fix rating query on doc table

parent 340bddf6
...@@ -52,8 +52,8 @@ ratingCpt = here.component "rating" cpt where ...@@ -52,8 +52,8 @@ ratingCpt = here.component "rating" cpt where
, session , session
, setLocalCategories , setLocalCategories
} _ = do } _ = do
pure $ renderRatingSimple { docId: nodeId pure $ renderRatingSimple { docId: r._id
, corpusId: r._id , corpusId: nodeId
, category: star2score score , category: star2score score
, session } [] , 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