Skip to content

Commit

Permalink
Fixed a simple typo (#287)
Browse files Browse the repository at this point in the history
* Fixed a simple typo

The example didn't work because of a missing comma.

* Fixed a simple typo

The example didn't work because of a missing comma.
  • Loading branch information
EddyVerbruggen authored and ziluvatar committed Feb 3, 2017
1 parent 1b6ec8d commit a542403
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 @@ -78,7 +78,7 @@ Signing a token with 1 hour of expiration:

```javascript
jwt.sign({
exp: Math.floor(Date.now() / 1000) + (60 * 60)
exp: Math.floor(Date.now() / 1000) + (60 * 60),
data: 'foobar'
}, 'secret');
```
Expand Down

0 comments on commit a542403

Please sign in to comment.