chore: rename to useTokens
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2021-12-26 11:43:15 +01:00
parent 1c9f2b53ec
commit 6063c03c2f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -80,13 +80,13 @@ import CaldavTokenModel from '@/models/caldavToken'
const service = new CaldavTokenService()
async function useToken(): ref<CaldavTokenModel[]> {
async function useTokens(): ref<CaldavTokenModel[]> {
const tokens = ref<CaldavTokenModel[]>([])
tokens.value = await service.getAll()
return tokens
}
const tokens = useToken()
const tokens = useTokens()
const store = useStore()
const {t} = useI18n()