AAA
This commit is contained in:
parent
339166a509
commit
02490b4538
|
@ -98,7 +98,7 @@ router.post('/edit/:id', authenticate, async (req, res) => {
|
||||||
const conn = await pool.getConnection();
|
const conn = await pool.getConnection();
|
||||||
const id = req.params.id;
|
const id = req.params.id;
|
||||||
const data = req.body;
|
const data = req.body;
|
||||||
|
console.log(data)
|
||||||
if (!data.robloxId && !data.discordId) {
|
if (!data.robloxId && !data.discordId) {
|
||||||
res.json({ success: false, message: 'Please enter a Roblox ID or Discord ID.' });
|
res.json({ success: false, message: 'Please enter a Roblox ID or Discord ID.' });
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue