Skip to content

Commit

Permalink
Merge pull request #5 from rpless/rpless/fix-node
Browse files Browse the repository at this point in the history
Fix nodejs example.
  • Loading branch information
patcable authored Feb 7, 2023
2 parents a2074a5 + f176e51 commit a9e1d13
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ makeRequest({
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Authorization': authorizationHeader.field
'Authorization': authorizationHeader.header
}
}, function (err, result) {
if (err) {
Expand Down
58 changes: 58 additions & 0 deletions node/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "example",
"version": "0.0.0",
"dependencies": {
"hawk": "6.0.2"
"hawk": "^9.0.1"
}
}
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a9e1d13

Please sign in to comment.