1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Fixes for last login for clients

This commit is contained in:
David Bomba 2023-03-04 11:00:52 +11:00
parent f53687a7f8
commit 26a4198cbe
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -94,6 +94,7 @@ class Client extends BaseModel implements HasLocalePreference
'updated_at' => 'timestamp',
'created_at' => 'timestamp',
'deleted_at' => 'timestamp',
'last_login' => 'timestamp',
];
protected $touches = [];