Update index.svelte

This commit is contained in:
FlaminWrap 2022-08-11 20:05:06 +00:00 committed by GitHub
parent 58f59c88b0
commit 6205d16dd2
1 changed files with 3 additions and 3 deletions

View File

@ -8,9 +8,9 @@
const inviteCode = $params["?code"] const inviteCode = $params["?code"]
let password, error let password, error
$: company = $organisation.company || "Budibase" $: company = $organisation.company || "Budibase"
async function acceptInvite() { async function acceptInvite() {
try { try {
await users.acceptInvite(inviteCode, password) await users.acceptInvite(inviteCode, password)
@ -20,7 +20,7 @@
notifications.error(error.message) notifications.error(error.message)
} }
} }
onMount(async () => { onMount(async () => {
try { try {
await organisation.init() await organisation.init()