mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
bugfix 🐛, 1.2.2
This commit is contained in:
parent
83bf5c1b0a
commit
f58cac93b7
2 changed files with 2 additions and 2 deletions
2
index.js
2
index.js
|
@ -29,7 +29,7 @@ const createRequest = (opt) => {
|
|||
const request = (data) => {
|
||||
const body = opt.onBody({lang: 'en', svcReqL: [data]})
|
||||
const req = opt.onReq({
|
||||
json: true, body: JSON.stringify(body),
|
||||
json: true, body: body,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Accept-Encoding': 'gzip, deflate',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "hafas-client",
|
||||
"description": "JavaScript client for HAFAS mobile APIs.",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"index.js",
|
||||
|
|
Loading…
Add table
Reference in a new issue