fix: 🔥 remove double call of methods on store service #24
This commit is contained in:
parent
20546b8625
commit
64d4397c0c
1 changed files with 0 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue