mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-10-23 05:06:31 +03:00
Bumped application version (#34)
This commit is contained in:
parent
b2d9a4e53e
commit
2b1e816c7f
1 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ const formatJourneysReq = (ctx, from, to, when, outFrwd, journeysRef) => {
|
||||||
return {
|
return {
|
||||||
endpoint: opt.bestprice ? profile.bestpriceEndpoint : profile.journeysEndpoint,
|
endpoint: opt.bestprice ? profile.bestpriceEndpoint : profile.journeysEndpoint,
|
||||||
body: query,
|
body: query,
|
||||||
headers: getHeaders('application/x.db.vendo.mob.verbindungssuche.v8+json'),
|
headers: getHeaders('application/x.db.vendo.mob.verbindungssuche.v9+json'),
|
||||||
method: 'post',
|
method: 'post',
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -92,7 +92,7 @@ const formatRefreshJourneyReq = (ctx, refreshToken) => {
|
||||||
return {
|
return {
|
||||||
endpoint: opt.tickets ? profile.refreshJourneysEndpointTickets : profile.refreshJourneysEndpointPolyline,
|
endpoint: opt.tickets ? profile.refreshJourneysEndpointTickets : profile.refreshJourneysEndpointPolyline,
|
||||||
body: query,
|
body: query,
|
||||||
headers: getHeaders('application/x.db.vendo.mob.verbindungssuche.v8+json'),
|
headers: getHeaders('application/x.db.vendo.mob.verbindungssuche.v9+json'),
|
||||||
method: 'post',
|
method: 'post',
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue