add remarksGetPolyline profile flag

This commit is contained in:
Jannis R 2021-01-14 23:34:37 +01:00
parent 7106d24a70
commit d69d2530ef
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
2 changed files with 2 additions and 1 deletions

View file

@ -10,9 +10,9 @@ const formatRemarksReq = (ctx) => {
}
const req = {
getPolyline: !!opt.polylines,
himFltrL,
}
if (profile.remarksGetPolyline) req.getPolyline = !!opt.polylines
// todo: stLoc, dirLoc
// todo: comp, dept, onlyHimId, onlyToday
// todo: dailyB, dailyE

View file

@ -112,6 +112,7 @@ const defaultProfile = {
refreshJourneyUseOutReconL: false,
tripsByName: true,
remarks: true,
remarksGetPolyline: true, // `remarks()` method: support for `getPolyline` field?
lines: true,
}