mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
Revert "fix(parties): actual 30 not 29"
This reverts commit bf0e640fa6.
This commit is contained in:
@@ -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 }));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user