dev #160
@ -6,7 +6,8 @@ function migrate_A_to_0(e: journey): journey {
|
|||||||
e.main.forEach((v) => {
|
e.main.forEach((v) => {
|
||||||
v.date_range = v.date_range || (v as any).dateRange;
|
v.date_range = v.date_range || (v as any).dateRange;
|
||||||
v.day_title = v.day_title || (v as any).step_title;
|
v.day_title = v.day_title || (v as any).step_title;
|
||||||
v.travel;
|
v.places.activities = v.places.activities || (v as any).places.places;
|
||||||
|
v.travel = v.travel || [];
|
||||||
})
|
})
|
||||||
console.log(e)
|
console.log(e)
|
||||||
return e;
|
return e;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user