Skip to content

new Buffer is deprecated #40

New issue

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

Open
wojciech-bilicki-oke opened this issue Nov 20, 2018 · 0 comments
Open

new Buffer is deprecated #40

wojciech-bilicki-oke opened this issue Nov 20, 2018 · 0 comments

Comments

@wojciech-bilicki-oke
Copy link

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');

JEStaubach added a commit to JEStaubach/fullstack-tutorial that referenced this issue Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant