This commit is contained in:
2026-09-02 10:26:43 +08:00
parent 433150dd0f
commit cbd1373358
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ function authRequest(path, data, options = {}) {
})
}
export function login(username, password) {
return authRequest('/auth/login', { username, password })
export function login(loginId, password) {
return authRequest('/auth/login', { loginId, password })
}
export function refresh(refreshToken) {