Server: Fix Mutation authorization

This commit is contained in:
Barry Low committed 2018-09-13 23:55:57 -07:00
1 parent f7c5e9cc70
commit 758e5bdb83
9 files changed
+88 -93

No files matched your search

@@ -4,31 +4,27 @@ import gql from 'graphql-tag'
export const GET_TEAMS_BY_OWNER = gql`
query teamsByOwnerQuery($authId: String!) {
teamsByOwner(ownerId: $authId) {
edges {
node {
id
name
slug
owner
status {
status
reason
createdAt
}
createdAt
profile {
avatar
description
motto
updatedAt
}
members {
role
member {
alias
authId
}
}
id
name
slug
owner
status {
status
reason
createdAt
}
createdAt
profile {
avatar
description
motto
updatedAt
}
members {
role
member {
alias
authId
}
}
}