Skip to content

Commit 2f7b653

Browse files
Update EndUserClient.php
1 parent 02741e3 commit 2f7b653

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/EndUserClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function addKey(PublicKey $newPublicKey, ?string $actor = null): string
8080
public function addAuxData(string $data, string $type, ?string $actor = null): string
8181
{
8282
return $this->encryptBundle(
83-
$this->createAddAuxData($data, $type, $this->flattenActor($actor))
83+
$this->createAddAuxData($this->flattenActor($actor), $type, $data)
8484
);
8585
}
8686

@@ -131,7 +131,7 @@ public function revokeKeyThirdParty(string $revocationToken): string
131131
public function moveIdentity(string $newActor, ?string $oldActor = null): string
132132
{
133133
return $this->encryptBundle(
134-
$this->createMoveIdentity($newActor, $this->flattenActor($oldActor))
134+
$this->createMoveIdentity($this->flattenActor($oldActor), $newActor)
135135
);
136136
}
137137

0 commit comments

Comments
 (0)