adjusted reference to wrong file with import and enums

This commit is contained in:
Aster Fialla
2026-02-16 10:32:14 -05:00
parent 32adf7b6ef
commit f169f4d755
2 changed files with 3 additions and 4 deletions

View File

@@ -28,9 +28,8 @@ ih.pluralKitImport = async function (authorId, attachmentUrl) {
}).catch(e => {
errors.push(`${pkMember.name}: ${e.message}`);
});
await messageHelper.checkImageFormatValidity(pkMember.avatar_url).catch(e => {
errors.push(`${pkMember.name}: ${e.message}`)
});
await memberHelper.checkImageFormatValidity(pkMember.avatar_url).catch(e => {
errors.push(`${pkMember.name}: ${e.message} Added anyway with no profile picture.`)});
}
const aggregatedText = addedMembers.length > 0 ? `Successfully added members: ${addedMembers.join(', ')}` : enums.err.NO_MEMBERS_IMPORTED;
if (errors.length > 0) {