From b2bffddfbeb0c8e273624e70a00eba3914c60579 Mon Sep 17 00:00:00 2001 From: Alex Corn Date: Sat, 24 Jun 2023 02:53:15 -0400 Subject: [PATCH] Fixed wrong owner property --- classes/CSteamSharedFile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }; /**