diff --git a/src/server/types/ClosetList.js b/src/server/types/ClosetList.js index d85a240..91df135 100644 --- a/src/server/types/ClosetList.js +++ b/src/server/types/ClosetList.js @@ -133,7 +133,7 @@ const resolvers = { }, Query: { - closetList: async (_, { id, currentUserId }, { closetListLoader }) => { + closetList: async (_, { id }, { currentUserId, closetListLoader }) => { // TODO: Accept the `not-in-a-list` case too! const closetList = await closetListLoader.load(id); if (!closetList) {