Fix Sub.meSubscription not resolved on page load (#888)
This commit is contained in:
parent
1c488b13df
commit
508008f586
|
@ -76,6 +76,11 @@ export async function getSub (parent, { name }, { models, me }) {
|
|||
where: {
|
||||
userId: Number(me?.id)
|
||||
}
|
||||
},
|
||||
SubSubscription: {
|
||||
where: {
|
||||
userId: Number(me?.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue