oops, fix empty matches bug on seeking page!

I fixed a bug in `itemsTheyWantThatCurrentUserOwns`, but forgot to fix it in `itemsTheyOwnThatCurrentUserWants`!
This commit is contained in:
Emi Matchu 2020-11-25 02:08:27 -08:00
parent def46b0d9c
commit f09c17e2f5

View file

@ -126,8 +126,8 @@ const resolvers = {
itemsTheyOwnThatCurrentUserWants: async ( itemsTheyOwnThatCurrentUserWants: async (
{ id: publicUserId }, { id: publicUserId },
{ currentUserId }, _,
{ tradeMatchesLoader } { currentUserId, tradeMatchesLoader }
) => { ) => {
if (!currentUserId) { if (!currentUserId) {
return []; return [];