chore: rename to useTokens
This commit is contained in:
parent
460a4dbdbe
commit
b9fa08116d
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue