Revert "fix(parties): actual 30 not 29"

This reverts commit bf0e640fa6.
This commit is contained in:
SabreCat
2023-08-16 16:56:01 -05:00
parent 694fe5a273
commit 63414a80fe
3 changed files with 4 additions and 4 deletions

View File

@@ -471,7 +471,7 @@ schema.statics.validateInvitations = async function getInvitationErr (invites, r
memberCount += totalInvites;
if (memberCount > shared.constants.PARTY_LIMIT_MEMBERS) {
throw new BadRequest(res.t('partyExceedsMembersLimit', { maxMembersParty: shared.constants.PARTY_LIMIT_MEMBERS }));
throw new BadRequest(res.t('partyExceedsMembersLimit', { maxMembersParty: shared.constants.PARTY_LIMIT_MEMBERS + 1 }));
}
}
};