modications for hubs and teams
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
mutation createTeam(
|
||||
$teamName: String!
|
||||
$ownerId: String!
|
||||
$ownerId: UUID!
|
||||
$ownerName: String!
|
||||
$ownerRole: String!
|
||||
$email: String
|
||||
|
||||
@@ -44,7 +44,7 @@ query getTeamById($id: UUID!) @auth(level: USER) {
|
||||
}
|
||||
}
|
||||
|
||||
query getTeamsByOwnerId($ownerId: String!) @auth(level: USER) {
|
||||
query getTeamsByOwnerId($ownerId: UUID!) @auth(level: USER) {
|
||||
teams(where: { ownerId: { eq: $ownerId } }) {
|
||||
id
|
||||
teamName
|
||||
|
||||
Reference in New Issue
Block a user