Update src/client/helper/api.ts
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4a33222e82
commit
c8118fabe4
@ -17,7 +17,6 @@ const filter_existing = function (
|
|||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
case "travel":
|
case "travel":
|
||||||
console.log(r);
|
|
||||||
return r.filter((e) => {
|
return r.filter((e) => {
|
||||||
if (
|
if (
|
||||||
leg.travel.find(
|
leg.travel.find(
|
||||||
@ -44,7 +43,6 @@ const process_results = function (tpe: "nominatim" | "travel", r: geoloc[]) {
|
|||||||
return rr;
|
return rr;
|
||||||
});
|
});
|
||||||
case "travel":
|
case "travel":
|
||||||
console.log(r);
|
|
||||||
return r.map((el) => {
|
return r.map((el) => {
|
||||||
(el as any).path = getGeoLine(
|
(el as any).path = getGeoLine(
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user