Skip to content

Commit

Permalink
fixed issue the-road-to-graphql#9
Browse files Browse the repository at this point in the history
  • Loading branch information
syJSdev committed May 15, 2020
1 parent bd1f945 commit 12b850f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ const getMe = async req => {
try {
return await jwt.verify(token, process.env.SECRET);
} catch (e) {
throw new AuthenticationError(
'Your session expired. Sign in again.',
);
// throw new AuthenticationError(
// 'Your session expired. Sign in again.',
// );
}
}
return null;
};

const server = new ApolloServer({
Expand Down

0 comments on commit 12b850f

Please sign in to comment.