1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-07-03 16:37:45 +00:00

Actually grab time from steam ticket response

Oops! Still not fixed, though.
This commit is contained in:
Joshua Goins 2025-05-04 16:37:25 -04:00
parent e866164a4a
commit 8bf51eb169

View file

@ -47,5 +47,5 @@ QCoro::Task<std::pair<QString, int>> SteamAPI::getTicket()
const QJsonDocument document = QJsonDocument::fromJson(ticketBytes); const QJsonDocument document = QJsonDocument::fromJson(ticketBytes);
co_return encryptSteamTicket(document[QStringLiteral("ticket")].toString(), document[QStringLiteral("ticket")].toInteger()); co_return encryptSteamTicket(document[QStringLiteral("ticket")].toString(), document[QStringLiteral("time")].toInteger());
} }