1
0
Fork 0
mirror of synced 2024-10-03 02:27:06 +13:00

Removing unused function.

This commit is contained in:
mike12345567 2023-11-21 17:44:46 +00:00
parent ddd8482013
commit 18a275ecb1

View file

@ -155,18 +155,6 @@ export async function readGlobalUser(ctx: Ctx): Promise<User> {
return checkResponse(response, "get user", { ctx })
}
export async function createAdminUser(
email: string,
password: string,
tenantId: string
) {
const response = await fetch(
checkSlashesInUrl(env.WORKER_URL + "/api/global/users/init"),
request(undefined, { method: "POST", body: { email, password, tenantId } })
)
return checkResponse(response, "create admin user")
}
export async function getChecklist(): Promise<{
adminUser: { checked: boolean }
}> {