mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
15 lines
257 B
JavaScript
15 lines
257 B
JavaScript
'use strict'
|
|
|
|
const formatLocationIdentifier = require('./location-identifier')
|
|
|
|
const formatStation = (id) => {
|
|
return {
|
|
// todo: name necessary?
|
|
lid: formatLocationIdentifier({
|
|
A: '1', // station
|
|
L: id
|
|
})
|
|
}
|
|
}
|
|
|
|
module.exports = formatStation
|