mirror of
https://github.com/PretendoNetwork/juxtaposition-ui.git
synced 2026-08-21 08:45:16 -05:00
style: resolve linting issue in checkBan
This commit is contained in:
@@ -53,7 +53,7 @@ async function checkBan(request, response, next) {
|
||||
let banMessage = '';
|
||||
switch (userSettings.account_status) {
|
||||
case 2:
|
||||
banMessage = `${request.user.username} has been banned until: ${ moment(userSettings.ban_lift_date) }. \n\nReason: ${userSettings.ban_reason}. \n\nIf you have any questions contact the moderators in the Discord server or forum.`;
|
||||
banMessage = `${request.user.username} has been banned until: ${moment(userSettings.ban_lift_date)}. \n\nReason: ${userSettings.ban_reason}. \n\nIf you have any questions contact the moderators in the Discord server or forum.`;
|
||||
break;
|
||||
case 3:
|
||||
banMessage = `${request.user.username} has been banned forever. \n\nReason: ${userSettings.ban_reason}. \n\nIf you have any questions contact the moderators in the Discord server or forum.`;
|
||||
|
||||
Reference in New Issue
Block a user