Pass httpProxy down to steam-session

This commit is contained in:
Alex Corn
2023-06-27 04:28:28 -04:00
parent 8e1f214612
commit c006526f69

View File

@@ -81,7 +81,9 @@ SteamCommunity.prototype.login = function(details) {
// eslint-disable-next-line no-async-promise-executor
return new Promise(async (resolve, reject) => {
let platformType = details.authTokenPlatformType || EAuthTokenPlatformType.MobileApp;
let session = new LoginSession(platformType);
let session = new LoginSession(platformType, {
httpProxy: this._options.httpProxy
});
session.on('authenticated', async () => {
try {