fix construct service model

This commit is contained in:
Alexis Gousseau 2023-06-19 13:01:13 +02:00
parent e3d155394d
commit 619260a9ed

View file

@ -37,9 +37,12 @@ class Service extends Model
/**
* Service
*
* @param array $attributes
*/
public function __construct()
public function __construct(array $attributes = [])
{
parent::__construct($attributes);
$this->cacheFor = config('api.servicesDBCache') * 60;
}