Skip to content

Commit

Permalink
updating js with secret
Browse files Browse the repository at this point in the history
  • Loading branch information
salegria committed Apr 1, 2024
1 parent 1670a0e commit 6a955c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const API_KEY = ''
const SECRET_KEY = ''
const submitButton = document.querySelector('#submit')
const outPutElement = document.querySelector('#output')
const inputElement = document.querySelector('input')
Expand All @@ -15,7 +15,7 @@ async function getMessage() {
const options = {
method: 'POST',
headers: {
'Authorization': `Bearer ${API_KEY}`,
'Authorization': `Bearer ${SECRET_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
Expand Down

0 comments on commit 6a955c6

Please sign in to comment.