Skip to content

Commit af3f5c6

Browse files
committed
rest-exe parseTrip: expose id
1 parent ac65c1c commit af3f5c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

parse-rest/trip.js

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ const parseTrip = (ctx, t) => {
1616
const arr = last(stopovers)
1717

1818
return {
19+
id: t.ref || null,
20+
1921
origin: dep.stop,
2022
destination: arr.stop,
2123
line: product ? profile.parseLine(ctx, product) : null,

0 commit comments

Comments
 (0)