fix devices per page

This commit is contained in:
Cayo Puigdefabregas 2023-06-19 17:54:35 +02:00
parent c79cfd05fa
commit b405f715e0
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ class DeviceView(View):
"""Gets many devices.""" """Gets many devices."""
# Compute query # Compute query
query = self.query(args) query = self.query(args)
devices = query.paginate(page=args['page'], per_page=30) # type: Pagination devices = query.paginate(page=args['page'], per_page=100) # type: Pagination
return things_response( return things_response(
self.schema.dump(devices.items, many=True, nested=1), self.schema.dump(devices.items, many=True, nested=1),
devices.page, devices.page,