UNPKG

@budibase/worker

Version:
10 lines (8 loc) 344 B
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 )