Here is my query to find the correct user and his/her links when I click "My Profile Tab" but what my mutation that sets isDelete to False, the link that is "deleted" is still there. I need to refresh to not see it.
const FIND_USER_QUERY = gql`
query FindUserQuery($userId: ID) {
User(id: $userId) {
id
name
email
createdAt
links(filter{isDeletedfalse}){
id
title
url
description
category
isDeleted
updatedAt
createdAt
tags{
id
name
}
offers{
id
amount
comments{
id
content
}
link{
id
}
}
votes{
id
}
}
}
}
`
@nilan Thanks!