Skip to content

Commit

Permalink
Eliminando orderController
Browse files Browse the repository at this point in the history
  • Loading branch information
UO264802 committed Apr 30, 2022
1 parent 2f3af67 commit afde3f1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 89 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/asw2122.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
user: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_KEY }}
command: |
wget https://github.com/Arquisoft/dede_es6b/blob/develop/docker-compose-deploy.yml -O docker-compose.yml
wget https://github.com/Arquisoft/dede_es6b/blob/deploy/docker-compose-deploy.yml -O docker-compose.yml
docker-compose stop
docker-compose rm -f
docker-compose pull
Expand Down
62 changes: 0 additions & 62 deletions restapi/controllers/OrderController.ts

This file was deleted.

24 changes: 0 additions & 24 deletions restapi/routes/apiOrders.ts

This file was deleted.

4 changes: 2 additions & 2 deletions restapi/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import bp from 'body-parser';
import promBundle from 'express-prom-bundle';

import apiProducts from "./routes/apiProducts";
import apiOrders from "./routes/apiOrders";
//import apiOrders from "./routes/apiOrders";
import apiPays from "./routes/apiPays";
import api from "./api"
const app: Application = express();
Expand All @@ -25,7 +25,7 @@ app.use(express.json());

app.use("/api", api)
app.use("/products",apiProducts)
app.use("/orders",apiOrders)
//app.use("/orders",apiOrders)
app.use("/payments",apiPays)

app.listen(port, ():void => {
Expand Down

0 comments on commit afde3f1

Please sign in to comment.