Skip to content

Commit

Permalink
Update AuditLogger.php
Browse files Browse the repository at this point in the history
  • Loading branch information
msonowal authored Jan 5, 2019
1 parent ae8c6ed commit 08a28d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Repositories/AuditLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,7 @@ protected function build(string $description):? AuditActivityContract
$activity->request_infos = $this->requestInfos;
}

$attributes->created_at = Carbon::now();

//TODO also generate the timestamp as if in queue it will take the timestamp that is processed
$attributes->created_at = Carbon::now();//setting the timestamp here only for actual event time tracking

return $activity;
}
Expand Down

0 comments on commit 08a28d3

Please sign in to comment.