Use now helper (#1051)
This commit is contained in:
committed by
Alexis Saettler
parent
1e1e984baf
commit
1794435726
@@ -58,7 +58,7 @@ class NotesController extends Controller
|
||||
$note->is_favorited = false;
|
||||
} else {
|
||||
$note->is_favorited = true;
|
||||
$note->favorited_at = \Carbon\Carbon::now();
|
||||
$note->favorited_at = now();
|
||||
}
|
||||
|
||||
$contact->logEvent('note', $note->id, 'update');
|
||||
|
||||
Reference in New Issue
Block a user