mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
fix(db-schema): typo fixed in group.hasCancelled() schema metod name
This commit is contained in:
parent
00d12e83bd
commit
fdf7e3a665
1 changed files with 1 additions and 1 deletions
|
|
@ -1677,7 +1677,7 @@ schema.methods.hasNotCancelled = function hasNotCancelled () {
|
|||
return Boolean(this.hasActiveGroupPlan() && !plan.dateTerminated);
|
||||
};
|
||||
|
||||
schema.methods.hasCancelled = function hasNotCancelled () {
|
||||
schema.methods.hasCancelled = function hasCancelled () {
|
||||
const { plan } = this.purchased;
|
||||
return Boolean(this.hasActiveGroupPlan() && plan.dateTerminated);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue