We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in server/src/resolvers.js in part 3 of the tutorial:
server/src/resolvers.js
if (user) return new Buffer(email).toString('base64'); should be changed to: if (user) return Buffer.from(email).toString('base64');
if (user) return new Buffer(email).toString('base64');
if (user) return Buffer.from(email).toString('base64');
The text was updated successfully, but these errors were encountered:
Fixes apollographql#40 - new Buffer is deprecated
5f09ccc
No branches or pull requests
in
server/src/resolvers.js
in part 3 of the tutorial:if (user) return new Buffer(email).toString('base64');
should be changed to:if (user) return Buffer.from(email).toString('base64');
The text was updated successfully, but these errors were encountered: