Skip to content

Commit 0eb1560

Browse files
committed
fixed session
1 parent 5674b9f commit 0eb1560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PendingVisit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function withIP(string $ip = null): self
5555
*/
5656
public function withSession(string $session = null): self
5757
{
58-
$this->attributes['session'] = $ip ?? request()->session()->getId();
58+
$this->attributes['session'] = $session ?? session()->getId();
5959

6060
return $this;
6161
}

0 commit comments

Comments
 (0)