mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-01-19 13:16:52 +08:00
Add tradeConfirmation alias for emailConfirmation and marketConfirmation
Resolves #24
This commit is contained in:
parent
479cc47bf5
commit
43d1147fd7
@ -191,9 +191,14 @@ SteamCommunity.prototype.profileSettings = function(settings, callback) {
|
||||
values.inventoryGiftPrivacy = settings[i] ? 1 : 0;
|
||||
break;
|
||||
|
||||
case 'emailConfirmation':
|
||||
case 'emailConfirmation': // deprecated
|
||||
case 'tradeConfirmation':
|
||||
values.tradeConfirmationSetting = settings[i] ? 1 : 0;
|
||||
break;
|
||||
|
||||
case 'marketConfirmation':
|
||||
values.marketConfirmationSetting = settings[i] ? 1 : 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user