fix: create token
This commit is contained in:
parent
b1159f331f
commit
898b22b377
@ -91,7 +91,7 @@ service.getAll().then((result: CaldavTokenModel[]) => {
|
|||||||
|
|
||||||
const newToken = ref<CaldavTokenModel>()
|
const newToken = ref<CaldavTokenModel>()
|
||||||
async function createToken() {
|
async function createToken() {
|
||||||
newToken.value = await service.create() as CaldavTokenModel
|
newToken.value = await service.create({}) as CaldavTokenModel
|
||||||
tokens.value.push(newToken.value)
|
tokens.value.push(newToken.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user