Skip to content

Commit

Permalink
fix: ExpTech login failed
Browse files Browse the repository at this point in the history
  • Loading branch information
yayacat committed May 3, 2024
1 parent 55d5d02 commit 2e4b723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/setting/setting.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ async function login() {
const resp = await fetch("https://api.exptech.com.tw/api/v3/et/login", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ email: email, pass: pass, name: `Client [${client_name}]/TREM-Lite/${client_ver}/0.0.0` }),
body: JSON.stringify({ email: email, pass: pass, name: `Client [${client_name}]/TREM-Lite/${client_ver}/${os.release()}` }),
});
const ans = await resp.text();
if (!resp.ok){
Expand Down

0 comments on commit 2e4b723

Please sign in to comment.