fix(premium-subs): clear subscription list cache after insert

fixes #430
This commit is contained in:
Yassine Doghri 2024-01-24 17:33:58 +00:00
parent 3cb5ffd25b
commit 2accb0f765

View File

@ -54,6 +54,11 @@ class SubscriptionModel extends Model
*/
protected $useTimestamps = true;
/**
* @var string[]
*/
protected $afterInsert = ['clearCache'];
/**
* @var string[]
*/