Skip to content

Commit cf63272

Browse files
Not the whole path for insert_id
1 parent 50ed792 commit cf63272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bolt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private function track(): void
7171
CURLOPT_POSTFIELDS => json_encode([
7272
[
7373
'properties' => [
74-
'$insert_id' => $file,
74+
'$insert_id' => basename($file),
7575
'distinct_id' => sha1(implode('', [php_uname(), disk_total_space('.'), filectime('/'), phpversion()])),
7676
'amount' => $count,
7777
'time' => $time

0 commit comments

Comments
 (0)