diff --git a/Node/Property/index.js b/Node/Property/index.js index 8d1d1a9..7732103 100644 --- a/Node/Property/index.js +++ b/Node/Property/index.js @@ -7,15 +7,6 @@ const app = express() app.use(cors()) const port = 3000 -const getRealEstates = (request, response) => { - pool.query('SELECT * FROM real_estae ORDER BY id ASC', (error, results) => { - if (error) { - throw error - } - response.status(200).json(results.rows) - }) -} - app.use(bodyParser.json()); app.use( bodyParser.urlencoded({