Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Feb 22, 2022
1 parent 9e1f99b commit e3edcdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,9 @@ const createClient = (profile, userAgent, opt = {}) => {
const disableSubscription = _setSubscriptionStatus.bind(null, 'EXPIRED')
const enableSubscription = _setSubscriptionStatus.bind(null, 'ACTIVE')

// todo: subscribeToJourneysInterval
// https://gist.github.com/derhuerst/d267ac179e49e927d38daa1a4bdf7760#file-6-subscriptions-http-L81-L132

const subscribeToJourney = async (userId, channelIds, journeyRefreshToken, opt = {}) => {
if (!isNonEmptyString(userId)) {
throw new TypeError('userId must be a non-empty string')
Expand Down
2 changes: 1 addition & 1 deletion parse/journey.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const parseScheduledDays = (sDaysB, year, profile) => {
return res
}

// todo: c.conSubscr (e.g. `F`)
// todo: c.conSubscr (e.g. `F`, `U`) – is this journey subscribed to?
// todo: c.trfRes x vbb-parse-ticket
// todo: c.sotRating, c.isSotCon, c.sotCtxt
// todo: c.showARSLink
Expand Down

0 comments on commit e3edcdb

Please sign in to comment.