budibase/packages/server/middleware/routes/neo/client.js

10 lines
254 B
JavaScript

const Router = require("@koa/router");
const controller = require("../../controllers/client");
const router = Router();
router
.post("/api/clients", controller.create)
.delete("/api/clients/:clientId", controller.destroy);
module.exports = router;