Skip to content

Commit

Permalink
style: resolve linting issue in checkBan
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryoverload committed Jan 21, 2025
1 parent 40b92c6 commit fd836d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/checkBan.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.`;
Expand Down

0 comments on commit fd836d3

Please sign in to comment.