Skip to content

Commit

Permalink
fix: update to api v3
Browse files Browse the repository at this point in the history
  • Loading branch information
whes1015 committed Mar 28, 2024
1 parent 09e23e9 commit 78f4260
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/scripts/change.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ submit.addEventListener("click", (e) => {

submit.disabled = true;

fetch("https://api.exptech.com.tw/api/v1/et/change", {
fetch("https://api.exptech.com.tw/api/v3/et/change", {
method : "POST",
headers : { "Content-Type": "application/json" },
body : JSON.stringify({
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/forget.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ submit.addEventListener("click", (e) => {

submit.disabled = true;

fetch("https://api.exptech.com.tw/api/v1/et/forget", {
fetch("https://api.exptech.com.tw/api/v3/et/forget", {
method : "POST",
headers : { "Content-Type": "application/json" },
body : JSON.stringify({ email: values.email }),
Expand Down

0 comments on commit 78f4260

Please sign in to comment.