fix: 🔥 remove double call of methods on store service #24

This commit is contained in:
Alexis Gousseau 2025-01-08 17:14:55 +01:00
parent 20546b8625
commit 64d4397c0c

View file

@ -79,10 +79,6 @@ class Service extends Model
*/
protected static function booted(): void
{
static::creating(function (self $model) {
$model->generateBearerToken();
$model->generateBearerPassword();
});
static::created(function () {
// * Flush Eloquent cache.
self::flushQueryCache();