Use departure date instead of arrive by

This commit is contained in:
Arnaud Delcasse 2025-10-13 14:54:57 +02:00
parent a2c82a1a5c
commit ab53f677d9
1 changed files with 3 additions and 2 deletions

View File

@ -61,7 +61,7 @@ func (c *Client) PlanWithResponse(ctx context.Context, params *PlanParams) (*Tra
query.Set("fastestDirectFactor", "1.5")
query.Set("joinInterlinedLegs", "false")
query.Set("maxMatchingDistance", "250")
query.Set("arriveBy", "true")
// query.Set("arriveBy", "true")
u.RawQuery = query.Encode()
@ -102,4 +102,5 @@ func (c *Client) PlanWithResponse(ctx context.Context, params *PlanParams) (*Tra
Msg("Transitous API response received")
return &transitousResponse, nil
}
}