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

10 lines
273 B
JavaScript
Raw Normal View History

2020-04-07 18:25:09 +02:00
const Router = require("@koa/router");
const controller = require("../../controllers/application");
const router = Router();
router
.get("/api/:clientId/applications", controller.fetch)
.post("/api/:clientId/applications", controller.create)
2020-04-07 18:25:09 +02:00
module.exports = router;