@budibase/worker
Version:
Budibase background service
10 lines (8 loc) • 344 B
text/typescript
import * as controller from "../../controllers/system/tenants"
import { adminRoutes } from "../endpointGroups"
adminRoutes.delete("/api/system/tenants/:tenantId", controller.destroy)
adminRoutes.put("/api/system/tenants/:tenantId/lock", controller.lock)
adminRoutes.put(
"/api/system/tenants/:tenantId/activation",
controller.activation
)