Commit 97680f66 authored by Volker Krause's avatar Volker Krause
Browse files

Fix JSON serialization of vehicle layout requests

This fixes empty entries when logging all communication.
parent d84e833f
......@@ -50,7 +50,9 @@ QString VehicleLayoutRequest::cacheKey() const
QJsonObject VehicleLayoutRequest::toJson(const VehicleLayoutRequest &req)
return Json::toJson(req);
auto obj = Json::toJson(req);
obj.insert(QLatin1String("stopover"), Stopover::toJson(req.stopover()));
return obj;
QStringList VehicleLayoutRequest::backendIds() const
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment