feat: initialize Discord clone application with core backend services and Electron frontend.

This commit is contained in:
Bryan1029384756
2026-02-09 23:54:49 -06:00
parent e64cf20116
commit 516cfdbbd8
26 changed files with 622 additions and 161 deletions

View File

@@ -4,7 +4,7 @@ const db = require('../db');
router.get('/', async (req, res) => {
try {
const result = await db.query('SELECT * FROM channels ORDER BY name ASC');
const result = await db.query("SELECT * FROM channels WHERE type != 'dm' ORDER BY name ASC");
res.json(result.rows);
} catch (err) {
console.error(err);