Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed Buffer call with 'binary' encoding option in auth example.
According to the Node.js documentation for Buffer objects regarding the 'binary' encoding option: "This encoding method is deprecated and should be avoided in favor of Buffer objects where possible. This encoding will be removed in future versions of Node." Simply calling toString() with a 'base64' argument on the hash seems to accomplish the same thing; this makes the code compatible with current documentation as well as being a bit easier to follow.
- Loading branch information