From f09c17e2f56038b438ac5cdfa927a280545d5ac0 Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 25 Nov 2020 02:08:27 -0800 Subject: [PATCH] oops, fix empty matches bug on seeking page! I fixed a bug in `itemsTheyWantThatCurrentUserOwns`, but forgot to fix it in `itemsTheyOwnThatCurrentUserWants`! --- src/server/types/User.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/types/User.js b/src/server/types/User.js index da761cc..c6a4caf 100644 --- a/src/server/types/User.js +++ b/src/server/types/User.js @@ -126,8 +126,8 @@ const resolvers = { itemsTheyOwnThatCurrentUserWants: async ( { id: publicUserId }, - { currentUserId }, - { tradeMatchesLoader } + _, + { currentUserId, tradeMatchesLoader } ) => { if (!currentUserId) { return [];