Skip to content

Commit

Permalink
Add AUTH_KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZivic committed Dec 24, 2024
1 parent 02ef412 commit 49001ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion example.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ DB_USER=postgres
DB_PASS=postgrespw
DB_HOST=db
DB_PORT=5432
DB_NAME=postgres
DB_NAME=postgres
AUTH_KEY=changeme
2 changes: 1 addition & 1 deletion interactions/buttons/operation/confirm.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module.exports = {
await fetch(`${process.env.API_URL}/transcript`, {
method: "POST",
headers: {
Authorization: process.env.API_KEY
Authorization: process.env.AUTH_KEY
},
body: form
});
Expand Down
2 changes: 1 addition & 1 deletion interactions/slash/operation/forceClose.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module.exports = {
await fetch(`${process.env.API_URL}/transcript`, {
method: "POST",
headers: {
Authorization: process.env.API_KEY
Authorization: process.env.AUTH_KEY
},
body: form
});
Expand Down

0 comments on commit 49001ab

Please sign in to comment.