console.log's
This commit is contained in:
parent
c4b2fa175d
commit
1406e88ad6
|
@ -61,6 +61,7 @@ export const compactRteOrTrkseg = async (params: any) => {
|
|||
compactedDocs,
|
||||
firstDoc: compactedDocs[0].doc,
|
||||
firstDocWpt: compactedDocs[0].doc.trkpt[0],
|
||||
date: new Date().toISOString(),
|
||||
});
|
||||
await db.bulkDocs(compactedDocs);
|
||||
}
|
||||
|
|
|
@ -44,10 +44,10 @@ export const getTrkseg = async (params: any) => {
|
|||
const { id } = params;
|
||||
const { docs, trkseg } = await getTrksegDocs(params);
|
||||
if (docs.rows.length > 1) {
|
||||
console.log({
|
||||
caller: 'getTrkseg compactRteOrTrksegDebounced required',
|
||||
id,
|
||||
});
|
||||
// console.log({
|
||||
// caller: 'getTrkseg compactRteOrTrksegDebounced required',
|
||||
// id,
|
||||
// });
|
||||
compactRteOrTrksegDebounced({ id, getDocs: getTrksegDocs });
|
||||
}
|
||||
return trkseg;
|
||||
|
|
Loading…
Reference in New Issue