Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion webhook-pre.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ For example, if you specify `purple unicorn` in the **Secret** field, you might
```javascript
const jwt = require('jsonwebtoken');
...
const token = request.headers.authentication; // grab the "Authentication" header
const token = request.headers.authorization; // grab the "Authorization" header
try {
const decoded = jwt.verify(token, 'purple unicorn');
} catch(err) {
Expand Down