Skip to content

Commit

Permalink
Exclude underlying websocket raw identifier from serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
richt222 committed Oct 26, 2024
1 parent 11bf33b commit 8252f5b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Concerns/SerializesConnections.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public function __serialize(): array
{
return [
'id' => $this->id(),
'identifier' => $this->identifier(),
'application' => $this->app()->id(),
'origin' => $this->origin(),
'lastSeenAt' => $this->lastSeenAt,
Expand All @@ -29,7 +28,6 @@ public function __serialize(): array
public function __unserialize(array $values): void
{
$this->id = $values['id'];
$this->identifier = $values['identifier'];
$this->application = app(ApplicationProvider::class)->findById($values['application']);
$this->origin = $values['origin'];
$this->lastSeenAt = $values['lastSeenAt'] ?? null;
Expand Down

0 comments on commit 8252f5b

Please sign in to comment.