mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
Update: UserCreate installation model to fix parameter runtime errors.
This commit is contained in:
parent
b07b4500fa
commit
6d76a6f19b
4 changed files with 14 additions and 17 deletions
|
|
@ -13,8 +13,8 @@ export async function createNewOrgInstall(body: any) {
|
|||
return res;
|
||||
}
|
||||
|
||||
export async function createNewUserInstall(body: any) {
|
||||
const result = await fetch(`${getAPIUrl()}install/user?org_slug=${body.org_slug}`, RequestBody("POST", body, null));
|
||||
export async function createNewUserInstall(body: any,org_slug:string) {
|
||||
const result = await fetch(`${getAPIUrl()}install/user?org_slug=${org_slug}`, RequestBody("POST", body, null));
|
||||
const res = await errorHandling(result);
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue