forked from jappel/leistungsbilanz-ts
Remove legacy consumer API
This commit is contained in:
parent
04c299e3f2
commit
3fbf3ac622
30 changed files with 76 additions and 1089 deletions
|
|
@ -1,14 +0,0 @@
|
|||
import { Router } from "express";
|
||||
import {
|
||||
createConsumer,
|
||||
deleteConsumer,
|
||||
listConsumersByProject,
|
||||
updateConsumer,
|
||||
} from "../controllers/consumer.controller.js";
|
||||
|
||||
export const consumerRouter = Router();
|
||||
|
||||
consumerRouter.get("/projects/:projectId", listConsumersByProject);
|
||||
consumerRouter.post("/", createConsumer);
|
||||
consumerRouter.put("/:consumerId", updateConsumer);
|
||||
consumerRouter.delete("/:consumerId", deleteConsumer);
|
||||
Loading…
Add table
Add a link
Reference in a new issue