diff --git a/src/views/user/settings/Caldav.vue b/src/views/user/settings/Caldav.vue index fd568ca0..4e3b0bdb 100644 --- a/src/views/user/settings/Caldav.vue +++ b/src/views/user/settings/Caldav.vue @@ -80,13 +80,13 @@ import CaldavTokenModel from '@/models/caldavToken' const service = new CaldavTokenService() -async function useToken(): ref { +async function useTokens(): ref { const tokens = ref([]) tokens.value = await service.getAll() return tokens } -const tokens = useToken() +const tokens = useTokens() const store = useStore() const {t} = useI18n()