Change max length on reasons
This commit is contained in:
parent
8439a4729d
commit
38f2c632bb
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue