From b9fa08116d5c1f728a783c25b466c6386d9489b7 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 26 Dec 2021 11:43:15 +0100 Subject: [PATCH] chore: rename to useTokens --- src/views/user/settings/Caldav.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()