Skip to content

Commit

Permalink
dsfg
Browse files Browse the repository at this point in the history
  • Loading branch information
AshPowell committed Jun 24, 2019
1 parent 1acd817 commit 269c20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/Track.php
Expand Up @@ -102,7 +102,7 @@ public function handle()
// Basic created ie user
if (! $postEvent) {
foreach ($items as $item) {
$basename = strtolower(class_basename($item));
$basename = strtolower(Str::singular($collection));
$data = [
$basename => [
'id' => $item->id ?? null,
Expand Down

0 comments on commit 269c20c

Please sign in to comment.