Skip to content

Commit

Permalink
Merge pull request #32 from vishalkrishnads/staging-url
Browse files Browse the repository at this point in the history
Added staging URL route
  • Loading branch information
sshane authored Jul 12, 2024
2 parents d23b152 + 5be9e7f commit 939aaba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions dist/drives.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ export function getSegmentMetadata(start, end, dongleId) {
to: end
});
}
export function getRoutesSegments(dongleId, start, end, limit) {
export function getRoutesSegments(dongleId, start, end, limit, route_str) {
return request.get(`v1/devices/${dongleId}/routes_segments`, {
start,
end,
limit
limit,
route_str
});
}
export function getRouteInfo(routeName) {
Expand Down
6 changes: 4 additions & 2 deletions src/drives.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ export function getSegmentMetadata(start, end, dongleId) {
});
}

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

export function getRouteInfo(routeName) {
Expand Down

0 comments on commit 939aaba

Please sign in to comment.