We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1790b1 commit 0d9fc44Copy full SHA for 0d9fc44
src/LocalEntityClient.php
@@ -129,7 +129,7 @@ public function getEntitySnapshot(EntityId $entityId): ?EntityState
129
#[Override]
130
public function withAuth(Provenance|string|null $token): void
131
{
132
- $this->worker->setUser($token instanceof Provenance ? $token : null);
+ $this->worker->setUser($token instanceof Provenance ? Serializer::serialize($token) : null);
133
}
134
135
0 commit comments