Test change for testing CI/CD pipeline

This commit is contained in:
Patrick Müller 2021-03-21 20:40:29 +01:00
parent 5f5c1cfb45
commit d0eed2ce4f

View File

@ -9,10 +9,10 @@ export class GeneralInfoRoutes extends CommonRoutesConfig {
configureRoutes() {
this.app.route(`/dhbw-service/generalInfo`)
.get((req: express.Request, res: express.Response) => {
res.status(200).send(`List of users`);
res.status(200).send(`GET generalInfo`);
})
.post((req: express.Request, res: express.Response) => {
res.status(200).send(`Post to users`);
res.status(200).send(`POST generalInfo`);
});
return this.app;