Skip to content

Commit

Permalink
Reset AORT when resetting TOBT
Browse files Browse the repository at this point in the history
  • Loading branch information
herver authored and LeoKle committed Feb 1, 2025
1 parent c40ce95 commit 805ad30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ void Server::resetTobt(const std::string& callsign, const std::chrono::utc_clock
root["vacdm"]["asrt"] = utils::Date::timestampToIsoString(types::defaultTime);
root["vacdm"]["aobt"] = utils::Date::timestampToIsoString(types::defaultTime);
root["vacdm"]["atot"] = utils::Date::timestampToIsoString(types::defaultTime);
root["vacdm"]["aort"] = utils::Date::timestampToIsoString(types::defaultTime);

sendPatchMessage("/api/v1/pilots/" + callsign, root);
}
Expand Down

0 comments on commit 805ad30

Please sign in to comment.