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:
parent
def46b0d9c
commit
f09c17e2f5
1 changed files with 2 additions and 2 deletions
|
@ -126,8 +126,8 @@ const resolvers = {
|
||||||
|
|
||||||
itemsTheyOwnThatCurrentUserWants: async (
|
itemsTheyOwnThatCurrentUserWants: async (
|
||||||
{ id: publicUserId },
|
{ id: publicUserId },
|
||||||
{ currentUserId },
|
_,
|
||||||
{ tradeMatchesLoader }
|
{ currentUserId, tradeMatchesLoader }
|
||||||
) => {
|
) => {
|
||||||
if (!currentUserId) {
|
if (!currentUserId) {
|
||||||
return [];
|
return [];
|
||||||
|
|
Loading…
Reference in a new issue