From 09be42844e92b770abaa20da64aae1a46ab9ece0 Mon Sep 17 00:00:00 2001 From: k00b Date: Thu, 19 Sep 2024 15:18:07 -0500 Subject: [PATCH] boosted items aren't freebies --- api/resolvers/item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/resolvers/item.js b/api/resolvers/item.js index 63d97796..8238c7e7 100644 --- a/api/resolvers/item.js +++ b/api/resolvers/item.js @@ -1139,7 +1139,7 @@ export default { return item.weightedVotes - item.weightedDownVotes > 0 }, freebie: async (item) => { - return item.cost === 0 + return item.cost === 0 && item.boost === 0 }, meSats: async (item, args, { me, models }) => { if (!me) return 0