fix(lint): eof and const

This commit is contained in:
SabreCat
2023-08-07 11:49:04 -05:00
parent c50cee0d88
commit 010f2299f0
2 changed files with 3 additions and 3 deletions
@@ -111,4 +111,4 @@ export default class ProfileReporter extends ChatReporter {
}
return flaggedUser;
}
}
}
+2 -2
View File
@@ -183,11 +183,11 @@ function sendProfileFlagNotification ({
}) {
const title = 'User Profile Report';
const titleLink = `${BASE_URL}/static/front/#?memberId=${flaggedUser._id}`;
const text = `@${reporter.auth.local.username} (${reporter._id}; language: ${reporter.preferences.language}) flagged @${flaggedUser.auth.local.username}'s profile`;
let text = `@${reporter.auth.local.username} (${reporter._id}; language: ${reporter.preferences.language}) flagged @${flaggedUser.auth.local.username}'s profile`;
if (userComment) {
text += ` and commented: ${userComment}`;
}
const profileData = `Bio: ${flaggedUser.profile.blurb}`;
let profileData = `Bio: ${flaggedUser.profile.blurb}`;
if (flaggedUser.profile.imageUrl) {
profileData += `\n\nImage URL: ${flaggedUser.profile.imageUrl}`;
}