Skip to content

Commit

Permalink
fix: merge headers
Browse files Browse the repository at this point in the history
  • Loading branch information
tchardin committed Oct 11, 2023
1 parent 384caed commit 3051e64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class Saturn {

if (!this.isBrowser) {
options.headers = {
...(options.headers || {}),
Authorization: 'Bearer ' + options.jwt
}
}
Expand Down

0 comments on commit 3051e64

Please sign in to comment.