Skip to content

Commit bf23327

Browse files
committed
fix: Error on undefined method planSubscriptions
1 parent 3567b6e commit bf23327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Plan.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ protected static function boot(): void
140140

141141
static::deleted(function (Plan $plan): void {
142142
$plan->features()->delete();
143-
$plan->planSubscriptions()->delete();
143+
$plan->subscriptions()->delete();
144144
});
145145
}
146146

0 commit comments

Comments
 (0)