Skip to content

Commit

Permalink
Buf fix
Browse files Browse the repository at this point in the history
Fix null pointer exception
  • Loading branch information
FarafontovDmitriy authored Dec 20, 2024
1 parent 5761e0f commit c90d429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MicroOcpp/Operations/StartTransaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void StartTransaction::processConf(JsonObject payload) {

if (payload["idTagInfo"].containsKey("parentIdTag"))
{
transaction->setParentIdTag(payload["idTagInfo"]["parentIdTag"]);
transaction->setParentIdTag(payload["idTagInfo"]["parentIdTag"] | "");
}

transaction->getStartSync().confirm();
Expand Down

0 comments on commit c90d429

Please sign in to comment.