From 991c9bc55d2877886729c56d8ae9bbc388a9a492 Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Thu, 21 Sep 2023 14:47:32 -0400 Subject: [PATCH] all SEI and WDI --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); })