steamutils 1.1.86 → 1.1.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
}
|