steamutils 1.1.86 → 1.1.87
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -5490,7 +5490,7 @@ class SteamUser {
|
|
5490
5490
|
|
5491
5491
|
async getTradeURL(){
|
5492
5492
|
const result = await this._httpRequest(`${this.getMyProfileURL()}/tradeoffers/privacy`)
|
5493
|
-
const $ = cherrio.load(result
|
5493
|
+
const $ = cherrio.load(result?.data || '')
|
5494
5494
|
const trade_offer_access_url = $('#trade_offer_access_url').attr('value')
|
5495
5495
|
return trade_offer_access_url
|
5496
5496
|
}
|