Server: add module auth with Master API

This commit is contained in:
Barry Low committed 2018-11-03 15:48:09 -07:00
1 parent f324b362a5
commit 32eac12dfa
5 files changed
+23 -3

No files matched your search

+3 -1
View File
@@ -78,7 +78,9 @@ export const resolvers = {
logger.info('createPlatformTeam')
logger.info(await createPlatformTeam)
logger.info('createPlatformTeam Error')
logger.error(await createPlatformTeam.error)
logger.info('createPlatformTeam Code')
logger.error(await createPlatformTeam.code)
// if (await createPlatformTeam.error && await createPlatformTeam.code === 404) throw new ApolloError(await createPlatformTeam.error, 404)
@@ -110,7 +112,7 @@ export const resolvers = {
})
}
// sendTeamCreateConfirmation(email, name, botName)
sendTeamCreateConfirmation(email, name, botName)
return createTeam
},