Change max length on reasons

This commit is contained in:
Christopher Cookman 2024-12-22 17:41:19 -07:00
parent 8439a4729d
commit 38f2c632bb

View file

@ -176,7 +176,7 @@ router.post('/import', authenticate, upload.single('fileInput'), async (req, res
const robloxId = line.split('x/')[0].split('/').pop(); const robloxId = line.split('x/')[0].split('/').pop();
let reasonLong = line.split('/profile ')[1]; let reasonLong = line.split('/profile ')[1];
if (reasonLong.length > 255) { if (reasonLong.length > 255) {
reasonLong = reasonLong.substring(0, 255); reasonLong = reasonLong.substring(0, 2048);
} }
const reasonShort = "Listed by MFD"; const reasonShort = "Listed by MFD";
const moderator = "MFD"; const moderator = "MFD";