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:
parent
e866164a4a
commit
8bf51eb169
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue