diff --git a/server.js b/server.js index 129343f..c0fb01f 100644 --- a/server.js +++ b/server.js @@ -8,7 +8,7 @@ const client = new pg.Client({ app.use(express.static('public')) app.get('/instances', async (req, res)=>{ - const instances = await client.query("SELECT * FROM instances WHERE course = 'ONL-SEIR-21215' AND graduates > 0"); + const instances = await client.query("SELECT * FROM instances WHERE (course LIKE '%SEI%' OR course LIKE '%WDI%') AND graduates > 0"); res.json(instances.rows); })