Fixed a simple typo (#287)

* 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.
This commit is contained in:
Eddy Verbruggen
2017-02-03 22:39:08 +01:00
committed by Eduardo Diaz
parent c4f7670972
commit a7d15fe138
+1 -1
View File
@@ -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');
```