diff --git a/game/Backend/src/Services/compraServiceDB.js b/game/Backend/src/Services/compraServiceDB.js index b0a049a..f3c0c9e 100644 --- a/game/Backend/src/Services/compraServiceDB.js +++ b/game/Backend/src/Services/compraServiceDB.js @@ -1,7 +1,6 @@ import getDBConnection from "./getDBConnection.js"; export const compraItens = async (idPersonagem, idItem) => { - // const query = "'CALL comprarItem($1, $2)', [idPersonagem, idItem]"; return await getDBConnection("CALL comprarItem($1, $2)", [ idPersonagem, idItem, @@ -9,9 +8,6 @@ export const compraItens = async (idPersonagem, idItem) => { }; export const ItemComprados = async () => { - // console.log('teste'); - // const query = `SELECT * FROM inventario`; - // return await getDBConnection(query); const query = ` SELECT i.nome, c.quantidade, c.valorTotal, c.dataCompra FROM compra c diff --git a/game/docker-compose.yml b/game/docker-compose.yml index 5061eaa..8cf7ab0 100644 --- a/game/docker-compose.yml +++ b/game/docker-compose.yml @@ -45,6 +45,7 @@ services: - ./Backend/src:/usr/src/app/src app-vite: container_name: frontend_fear_hunger + restart: always stdin_open: true tty: true build: