sharktide commited on
Commit
9eddddd
·
verified ·
1 Parent(s): e34102f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -160,8 +160,11 @@ def get_recipes_paged(
160
 
161
  response = query.execute()
162
 
 
 
 
163
  return {
164
- "rows": response.data,
165
  "offset": offset,
166
  "limit": limit,
167
  "total_count": total_count
 
160
 
161
  response = query.execute()
162
 
163
+ raw_data = query.data # This is a list of recipe dicts
164
+ wrapped_data = [{"row": recipe} for recipe in raw_data]
165
+
166
  return {
167
+ "rows": wrapped_data,
168
  "offset": offset,
169
  "limit": limit,
170
  "total_count": total_count