Add userId param to GetAllObjects() API

This commit is contained in:
Yang Luo
2024-01-13 18:03:40 +08:00
parent 79b393afee
commit 177f2f2f11
3 changed files with 20 additions and 11 deletions

View File

@ -146,7 +146,7 @@ export function getWechatMessageEvent() {
}
export function getCaptchaStatus(values) {
return fetch(`${Setting.ServerUrl}/api/get-captcha-status?organization=${values["organization"]}&user_id=${values["username"]}`, {
return fetch(`${Setting.ServerUrl}/api/get-captcha-status?organization=${values["organization"]}&userId=${values["username"]}`, {
method: "GET",
credentials: "include",
headers: {