Commit 693ea24e authored by Willard's avatar Willard

Include body and username in review

parent fc7bae33
......@@ -250,7 +250,9 @@ def review_obj(review):
return {
'id': review.id,
'title': review.title,
'body': review.body,
'rating': review.rating,
'user': User.query.get(review.user_id),
'user_id': review.user_id,
'dish_id': review.dish_id
}
\ No newline at end of file
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