mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-08 22:17:34 +01:00
Fix paginated API response key
This commit is contained in:
parent
da41fb5738
commit
c46cca519a
@ -400,7 +400,7 @@ def list_all_reviews():
|
||||
"previous": abs_url(url_set_query(page=page - 1)) if page > 1 else None,
|
||||
"next": abs_url(url_set_query(page=page + 1)) if pagination.next_num else None,
|
||||
},
|
||||
"reviews": [review.getAsDictionary(True) for review in pagination.items],
|
||||
"items": [review.getAsDictionary(True) for review in pagination.items],
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user