filter out projects with null projectInfo

This commit is contained in:
Barry Gitarts 2019-08-21 14:25:16 -04:00 committed by Barry G
parent bef75323b8
commit 6ad0858b8b

View File

@ -37,7 +37,7 @@ query Profile($id: ID!){
`
export const getProjects = gql`
query Projects($type: String! = "PROJECT"){
profiles(first: 5, where: {type: $type}) {
profiles(first: 5, where: {type: $type, projectInfo_not: null}) {
id
addr
canceled