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:
karl.muller 2025-06-03 15:13:32 +00:00
commit f9c19f2334

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();