fix: {total,data} -> {total,rows} — DataViewer reads d.rows not d.data
This commit is contained in:
parent
960edc2581
commit
15b4ad38fb
@ -33,4 +33,4 @@ for cate in data:
|
||||
'pricing_display': getattr(llm, 'pricing_display', []),
|
||||
})
|
||||
|
||||
return json.dumps({'total': len(result), 'data': result}, ensure_ascii=False)
|
||||
return json.dumps({'total': len(result), 'rows': result}, ensure_ascii=False)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user