Merge branch 'issue-24' into 'develop'
fix: 🔥 remove double call of methods on store service #24 Closes #24 See merge request ldc-web/projets/crm!31
This commit is contained in:
commit
f9c19f2334
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