diff --git a/api/resolvers/sub.js b/api/resolvers/sub.js index 189d4560..9d06c618 100644 --- a/api/resolvers/sub.js +++ b/api/resolvers/sub.js @@ -76,6 +76,11 @@ export async function getSub (parent, { name }, { models, me }) { where: { userId: Number(me?.id) } + }, + SubSubscription: { + where: { + userId: Number(me?.id) + } } } }