Skip to content

Commit

Permalink
Merge pull request #71 from kr5hn4/add-missing-quote
Browse files Browse the repository at this point in the history
Add missing quote
  • Loading branch information
alexjab authored Aug 9, 2017
2 parents c988eb2 + f3dd5a1 commit 9e2528d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var payload = { foo: 'bar' };
var secret = 'xxx';

// HS256 secrets are typically 128-bit random strings, for example hex-encoded:
// var secret = Buffer.from('fe1a1915a379f3be5394b64d14794932', 'hex)
// var secret = Buffer.from('fe1a1915a379f3be5394b64d14794932', 'hex')

// encode
var token = jwt.encode(payload, secret);
Expand Down

0 comments on commit 9e2528d

Please sign in to comment.