From 938616ebfb355edb88b5062987842d820fe83fd3 Mon Sep 17 00:00:00 2001 From: Revadike <4411977+Revadike@users.noreply.github.com> Date: Thu, 9 May 2024 14:57:15 +0200 Subject: [PATCH] Empty giftnames can be valid --- components/market.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/market.js b/components/market.js index 01f3d2e..948f26c 100644 --- a/components/market.js +++ b/components/market.js @@ -291,7 +291,7 @@ SteamCommunity.prototype.getGiftDetails = function(giftID, callback) { return; } - if (!body.packageid || !body.gift_name) { + if (!body.packageid) { callback(new Error("Malformed response")); return; }