feat: bust plan cache on customer.subscription.updated
This commit is contained in:
@@ -24,7 +24,8 @@ final class HandleStripeWebhook
|
||||
}
|
||||
|
||||
match ($type) {
|
||||
'customer.subscription.created' => $this->bustPlanCache($user),
|
||||
'customer.subscription.created',
|
||||
'customer.subscription.updated' => $this->bustPlanCache($user),
|
||||
default => null,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user