feat: init of landing page editor

This commit is contained in:
swve 2025-03-02 10:47:19 +01:00
parent 44fb6b26b8
commit f6f915c956
4 changed files with 1343 additions and 1 deletions

View file

@ -101,6 +101,19 @@ export async function updateUserRole(
return res
}
export async function updateOrgLanding(
org_id: any,
landing_object: any,
access_token: string
) {
const result = await fetch(
`${getAPIUrl()}orgs/${org_id}/landing`,
RequestBodyWithAuthHeader('PUT', landing_object, null, access_token)
)
const res = await getResponseMetadata(result)
return res
}
export async function removeUserFromOrg(
org_id: any,
user_id: any,