removes unncessary files

This commit is contained in:
Godfrey M 2023-04-17 12:01:09 -07:00
parent 0cca45d858
commit 1001b52c4f

View file

@ -73,18 +73,11 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCo
'location_id' => 'integer',
'company_id' => 'integer',
'vip' => 'boolean',
'created_at' => 'datetime',
'updated_at' => 'datetime',
'deleted_at' => 'datetime',
];
protected $dates = [
'created_at',
'updated_at',
'deleted_at',
'start_date' => 'date_format:Y-m-d',
'end_date' => 'date_format:Y-m-d',
];
/**
* Model validation rules
*
@ -272,7 +265,7 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCo
{
// At this point the endpoint is the same for everything.
// In the future this may want to be adapted for individual notifications.
$this->endpoint = \App\Models\Setting::getSettings()->slack_endpoint;
$this->endpoint = \App\Models\Setting::getSettings()->webhook_endpoint;
return $this->endpoint;
}