diff --git a/ts/modules/invites.ts b/ts/modules/invites.ts index 3bd2a0d..913e3e7 100644 --- a/ts/modules/invites.ts +++ b/ts/modules/invites.ts @@ -716,7 +716,7 @@ export class createInvite { create = () => { toggleLoader(this._createButton); let userExpiry = this.userExpiry; - if (this.userDays == 0 && this.userHours == 0 && this.userMinutes == 0) { + if (this.userMonths == 0 && this.userDays == 0 && this.userHours == 0 && this.userMinutes == 0) { userExpiry = false; } let send = {