Removing unused function.
This commit is contained in:
parent
ddd8482013
commit
18a275ecb1
|
@ -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 }
|
||||
}> {
|
||||
|
|
Loading…
Reference in New Issue