fix(XboxAuthorizationStep): set x-xbl-contract-version

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-02-03 21:26:18 +05:00
parent fe81ad3fc8
commit 9fac7065a7
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF

View file

@ -40,6 +40,7 @@ void XboxAuthorizationStep::perform()
auto headers = QList<Net::HeaderPair>{
{ "Content-Type", "application/json" },
{ "Accept", "application/json" },
{ "x-xbl-contract-version", "1" }
};
m_response.reset(new QByteArray());
m_request = Net::Upload::makeByteArray(url, m_response.get(), xbox_auth_data.toUtf8());