lib/db.js @@ -312,6 +312,7 @@ WHERE (or2.ref_id = ${ref_id} OR parent_id = ${ref_id}) ORDER BY usr_id ` console.log(q) const [results] = await pool.query(q) return results }