Remove sending authId from Client

This commit is contained in:
Barry Low committed 2018-09-27 20:14:45 -07:00
1 parent fecbac5680
commit f97deb7946
19 files changed
+1859 -232

No files matched your search

@@ -2,8 +2,8 @@
import gql from 'graphql-tag'
const CREATE_TEAM = gql`
mutation CreateTeamMutation($name: String!, $slug: String!, $owner: String!) {
createTeam(name: $name, slug: $slug, owner: $owner) {
mutation CreateTeamMutation($name: String!, $slug: String!) {
createTeam(name: $name, slug: $slug) {
id
name
slug
@@ -2,8 +2,8 @@
import gql from 'graphql-tag'
export const GET_TEAMS_BY_OWNER = gql`
query teamsByOwnerQuery($authId: String!) {
teamsByOwner(ownerId: $authId) {
query teamsByOwnerQuery {
teamsByOwner {
id
name
slug
@@ -4,7 +4,6 @@ import gql from 'graphql-tag'
const UPDATE_TEAM_PROFILE = gql`
mutation UpdateTeamProfileMutation(
$slug: String!,
$owner: String!,
$description: String,
$motto: String,
$avatar: String,
@@ -12,7 +11,6 @@ const UPDATE_TEAM_PROFILE = gql`
) {
updateTeamProfile(
slug: $slug,
owner: $owner,
description: $description,
motto: $motto
avatar: $avatar,