Fixes ticket #43 where JSON was incorrectly formatted
This commit is contained in:
parent
a37528362d
commit
97bd93f9bc
@ -294,6 +294,8 @@ public:
|
|||||||
config.pc.printUnencodedString(polyline, routeGeometryString);
|
config.pc.printUnencodedString(polyline, routeGeometryString);
|
||||||
|
|
||||||
reply.content += routeGeometryString;
|
reply.content += routeGeometryString;
|
||||||
|
} else {
|
||||||
|
reply.content += "[]";
|
||||||
}
|
}
|
||||||
reply.content += ",";
|
reply.content += ",";
|
||||||
reply.content += "\"route_instructions\": [";
|
reply.content += "\"route_instructions\": [";
|
||||||
|
Loading…
Reference in New Issue
Block a user