Add some filtering
This commit is contained in:
parent
64ff788ff6
commit
5f4abc1a43
@ -87,7 +87,12 @@ async function main() {
|
||||
)
|
||||
let body = await res.json()
|
||||
body.data.activities.map((activity) => {
|
||||
activity.recognizedAt = (activity.recognizedAt ?? 1) * 1000
|
||||
if (activity.formattedTotal == "$0.00") {
|
||||
return ""
|
||||
}
|
||||
delete activity.routing
|
||||
delete activity.uuid
|
||||
if (activity.tripMetaData?.mapUrl) {
|
||||
delete activity.tripMetaData.mapUrl
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user