fix construct service model
This commit is contained in:
parent
e3d155394d
commit
619260a9ed
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue