From 67ebe0f9f82864a60a75ad75601640cf69d68bbf Mon Sep 17 00:00:00 2001 From: "mati108@gmail.com" <34651529+matbenitez@users.noreply.github.com> Date: Mon, 15 Oct 2018 09:38:54 -0300 Subject: [PATCH] Changing to correct method name --- client/src/auth/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/auth/index.js b/client/src/auth/index.js index ff0bad4ff..61b90eb6e 100644 --- a/client/src/auth/index.js +++ b/client/src/auth/index.js @@ -11,7 +11,7 @@ import { AUTH_CONFIG } from './Auth0' // create by renaming Auth0.sample.js to A const AUTHENTICATE = gql` mutation authenticate($idToken: String!) { - TeamsModuleAuthenticate(idToken: $idToken) { + teams_Authenticate(idToken: $idToken) { alias authId } @@ -189,8 +189,8 @@ class Auth { Log.info('auth.signinOrCreateAccount data:') Log.info(await data) const user = { - authId: await data.TeamsModuleAuthenticate.authId, - alias: await data.TeamsModuleAuthenticate.alias + authId: await data.teams_Authenticate.authId, + alias: await data.teams_Authenticate.alias } setItem('user', JSON.stringify(user)) if (window.location.href.includes(`callback`)) {