Expose realtimeDataFrom for refreshJourney

Fixes #239
This commit is contained in:
Yureka 2021-08-17 20:07:38 +02:00 committed by Jannis R
parent 216102763d
commit c10f31811a

View file

@ -259,7 +259,10 @@ const createClient = (profile, userAgent, opt = {}) => {
}
const ctx = {profile, opt, common, res}
return profile.parseJourney(ctx, res.outConL[0])
return {
realtimeDataFrom: res.planrtTS ? parseInt(res.planrtTS) : null,
...profile.parseJourney(ctx, res.outConL[0])
}
})
}