Skip to content

Commit

Permalink
missed one spot
Browse files Browse the repository at this point in the history
  • Loading branch information
overheadhunter committed May 30, 2024
1 parent ec5488e commit 2df16bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/CreateVault.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ import { onMounted, ref } from 'vue';
import { useI18n } from 'vue-i18n';
import backend, { PaymentRequiredError } from '../common/backend';
import { VaultKeys } from '../common/crypto';
import userdata from '../common/userdata';
import { debounce } from '../common/util';
import { VaultConfig } from '../common/vaultconfig';
Expand Down Expand Up @@ -288,7 +289,7 @@ async function createVault() {
throw new Error('Invalid state');
}
processing.value = true;
const owner = await backend.users.me();
const owner = await userdata.me;
if (!owner.ecdhPublicKey) {
throw new Error('Invalid state');
}
Expand Down

0 comments on commit 2df16bc

Please sign in to comment.