Skip to content

Commit 0d9fc44

Browse files
committed
fix client
Signed-off-by: Robert Landers <landers.robert@gmail.com>
1 parent f1790b1 commit 0d9fc44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LocalEntityClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public function getEntitySnapshot(EntityId $entityId): ?EntityState
129129
#[Override]
130130
public function withAuth(Provenance|string|null $token): void
131131
{
132-
$this->worker->setUser($token instanceof Provenance ? $token : null);
132+
$this->worker->setUser($token instanceof Provenance ? Serializer::serialize($token) : null);
133133
}
134134

135135
#[Override]

0 commit comments

Comments
 (0)