api: adjust a couple of URIs

adjusted some things, likke changing /newUser to /user/invite.
This commit is contained in:
Harvey Tindall
2024-08-21 20:35:08 +01:00
parent 2057823b7a
commit 7c808b56f7
11 changed files with 57 additions and 38 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ const create = (event: SubmitEvent) => {
send.captcha_text = captcha.input.value;
}
}
_post("/newUser", send, (req: XMLHttpRequest) => {
_post("/user/invite", send, (req: XMLHttpRequest) => {
if (req.readyState != 4) return;
removeLoader(submitSpan);
let vals = req.response as ValidatorRespDTO;