Skip to content

Commit 5ca5f45

Browse files
committed
Comply with pre-release API change in granting access to newly created vault (chenkins/cryptomator-hub@1c2133d).
1 parent 8ffee7f commit 5ca5f45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/components/CreateVaultS3.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ async function createVault() {
484484
485485
const ownerJwe = await vaultKeys.value.encryptForUser(base64.parse(owner.publicKey));
486486
await backend.vaults.createOrUpdateVault(vaultId, vaultName.value, vaultDescription.value, false);
487-
await backend.vaults.grantAccess(vaultId, owner.id, ownerJwe);
487+
await backend.vaults.grantAccess(vaultId, owner.id, { userId: owner.id, token: ownerJwe });
488488
// / start cipherduck extension
489489
if(isPermanent.value){
490490
state.value = State.Finished;

0 commit comments

Comments
 (0)