chore: rename to useTokens

This commit is contained in:
kolaente 2021-12-26 11:43:15 +01:00
parent 460a4dbdbe
commit b9fa08116d
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() const service = new CaldavTokenService()
async function useToken(): ref<CaldavTokenModel[]> { async function useTokens(): ref<CaldavTokenModel[]> {
const tokens = ref<CaldavTokenModel[]>([]) const tokens = ref<CaldavTokenModel[]>([])
tokens.value = await service.getAll() tokens.value = await service.getAll()
return tokens return tokens
} }
const tokens = useToken() const tokens = useTokens()
const store = useStore() const store = useStore()
const {t} = useI18n() const {t} = useI18n()