mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-01-14 21:10:28 +08:00
Oops, wrong object name
This commit is contained in:
parent
f09adc84a4
commit
b55516f67f
@ -87,7 +87,7 @@ SteamCommunity.prototype.postSharedfileComment = function(userID, sid, message,
|
||||
* @param {String} sid ID of the sharedfileof
|
||||
* @param {function} callback - Takes only an Error object/null as the first argument
|
||||
*/
|
||||
Bot.prototype.subscribeSharedfileComments = function(userID, sid, callback) {
|
||||
SteamCommunity.prototype.subscribeSharedfileComments = function(userID, sid, callback) {
|
||||
if (typeof userID === "string") {
|
||||
userID = new SteamID(userID);
|
||||
}
|
||||
@ -135,7 +135,7 @@ Bot.prototype.subscribeSharedfileComments = function(userID, sid, callback) {
|
||||
* @param {String} sid - ID of the sharedfileof
|
||||
* @param {function} callback - Takes only an Error object/null as the first argument
|
||||
*/
|
||||
Bot.prototype.unsubscribeSharedfileComments = function(userID, sid, callback) {
|
||||
SteamCommunity.prototype.unsubscribeSharedfileComments = function(userID, sid, callback) {
|
||||
if (typeof userID === "string") {
|
||||
userID = new SteamID(userID);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user