Fixes for last login for clients
This commit is contained in:
parent
f53687a7f8
commit
26a4198cbe
2 changed files with 2 additions and 1 deletions
|
|
@ -40,6 +40,6 @@ class UpdateContactLastLogin implements ShouldQueue
|
|||
$client_contact->last_login = now();
|
||||
$client_contact->client->last_login = now();
|
||||
|
||||
$client_contact->save();
|
||||
$client_contact->push();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ class Client extends BaseModel implements HasLocalePreference
|
|||
'updated_at' => 'timestamp',
|
||||
'created_at' => 'timestamp',
|
||||
'deleted_at' => 'timestamp',
|
||||
'last_login' => 'timestamp',
|
||||
];
|
||||
|
||||
protected $touches = [];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue