This commit is contained in:
Christopher Cookman 2024-12-21 02:37:45 -07:00
parent 339166a509
commit 02490b4538

View file

@ -98,7 +98,7 @@ router.post('/edit/:id', authenticate, async (req, res) => {
const conn = await pool.getConnection();
const id = req.params.id;
const data = req.body;
console.log(data)
if (!data.robloxId && !data.discordId) {
res.json({ success: false, message: 'Please enter a Roblox ID or Discord ID.' });
return;