Skip to content

Commit

Permalink
add limit parameter to /v1/devices/<dongle>/routes_segments
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed Jun 8, 2024
1 parent 6658a0e commit e789416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drives.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export function getSegmentMetadata(start, end, dongleId) {
});
}

export function getRoutesSegments(dongleId, start, end) {
return request.get(`v1/devices/${dongleId}/routes_segments`, { start, end });
export function getRoutesSegments(dongleId, start, end, limit) {
return request.get(`v1/devices/${dongleId}/routes_segments`, { start, end, limit });
}

export function getRouteInfo(routeName) {
Expand Down

0 comments on commit e789416

Please sign in to comment.