Skip to content

Commit

Permalink
DB: remove stop() v1.16 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Jul 16, 2024
1 parent 1a0b595 commit 11b2633
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
7 changes: 0 additions & 7 deletions p/db/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ const transformReqBody = (ctx, body) => {

const transformReq = (ctx, req) => {
const body = JSON.parse(req.body);
// stop() a.k.a. LocDetails seems broken with ver >1.16, all other methods work
if (body.svcReqL[0].meth === 'LocDetails') {
req.body = JSON.stringify({
...body,
ver: '1.16',
});
}

// todo: `LocGeoPos`/nearby() breaks with `getStops: false`

Expand Down
Loading

0 comments on commit 11b2633

Please sign in to comment.