Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
feat(header): change header
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadreza1388 committed Sep 11, 2024
1 parent ed2733a commit b10b2d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ elm_save.addEventListener("click", () => {
xhr.onreadystatechange = function () {
console.log(xhr.response);
};

xhr.open("GET", APP_URL + "/api/v1/verify_token");
xhr.setRequestHeader('Content-type', 'application/json; charset=utf-8');
xhr.setRequestHeader('Authorization', token);
xhr.send();
}
Expand Down

0 comments on commit b10b2d9

Please sign in to comment.