diff --git a/classes/CSteamSharedFile.js b/classes/CSteamSharedFile.js index c22c184..277dbb9 100644 --- a/classes/CSteamSharedFile.js +++ b/classes/CSteamSharedFile.js @@ -176,7 +176,7 @@ function CSteamSharedFile(community, data) { * @param {function} callback - Takes only an Error object/null as the first argument */ CSteamSharedFile.prototype.deleteComment = function(cid, callback) { - this._community.deleteSharedFileComment(this.userID, this.id, cid, callback); + this._community.deleteSharedFileComment(this.owner, this.id, cid, callback); }; /**