Skip to content

Commit

Permalink
fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
matfish3 committed Oct 10, 2022
1 parent a6e8253 commit f46b835
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/RecordRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
namespace matfish\ActivityLog\services;


use Carbon\Carbon;
use Craft;
use craft\web\Request;
use craft\web\Response;
use matfish\ActivityLog\Plugin;
use yii\base\Event;
use matfish\ActivityLog\records\ActivityLog as ActivityLogRecord;
use matfish\ActivityLog\models\ActivityLog as ActivityLogModel;
Expand Down Expand Up @@ -73,6 +73,7 @@ public function record(): void
$record->siteId = $model->siteId;
$record->isAction = $model->isAction;
$record->actionSegments = $model->actionSegments;
$record->createdAt = Carbon::now();

$record->save();

Expand Down

0 comments on commit f46b835

Please sign in to comment.