Skip to content

Commit

Permalink
added headers to token request
Browse files Browse the repository at this point in the history
  • Loading branch information
tommygaessler committed Aug 16, 2024
1 parent 6e219bb commit 5ce569c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ var leaveUrl = 'http://localhost:5173/'
function getSignature() {
fetch(authEndpoint, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
meetingNumber: meetingNumber,
role: role
Expand Down
1 change: 1 addition & 0 deletions src/components/HelloWorldNew.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ var zakToken = ''
function getSignature() {
fetch(authEndpoint, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
meetingNumber: meetingNumber,
role: role
Expand Down

0 comments on commit 5ce569c

Please sign in to comment.