Merge pull request #14 from AAVikings/master

Adding team id parameter
This commit is contained in:
z@tOr authored and GitHub committed 2019-02-02 10:32:34 -03:00
commit a2056bb852
1 file changed
+1 -1
@@ -37,7 +37,7 @@ const resolve = async (parent, { id }, context) => {
throw new OperationsError('You are not authorized to remove this clone.')
}
let team = await teamQuery(context.authorization)
let team = await teamQuery(context.authorization, clone.teamId)
clone = await cloneDetails(context.userId, team.data.data.teams_TeamById, clone)
logger.debug('removeClone -> Removing Clone from Kubernates.')