diff --git a/src/openid.js b/src/openid.js index 07c5e64..a2f7683 100644 --- a/src/openid.js +++ b/src/openid.js @@ -37,7 +37,7 @@ const getUserInfo = accessToken => logger.debug('Fetched user emails: %j', userEmails, {}); const primaryEmail = userEmails.find(email => email.primary); if (primaryEmail === undefined) { - throw new Error('User does not have a primary email address'); + throw new Error('User did not have a primary email address'); } const claims = { email: primaryEmail.email,