Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
office-shirado authored Sep 29, 2024
1 parent 2855617 commit 1bc9871
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ var Get_ID=""

async function Update_ShareInfo() {
try {
await fetch(confirm_ID_URL)
await fetch(confirm_ID_URL, {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'}
})
.then(response => response.json())
.then(data => {
Get_ID = data[0].ID;
Expand Down

0 comments on commit 1bc9871

Please sign in to comment.