fix: create token
This commit is contained in:
parent
b1159f331f
commit
898b22b377
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ service.getAll().then((result: CaldavTokenModel[]) => {
|
|||
|
||||
const newToken = ref<CaldavTokenModel>()
|
||||
async function createToken() {
|
||||
newToken.value = await service.create() as CaldavTokenModel
|
||||
newToken.value = await service.create({}) as CaldavTokenModel
|
||||
tokens.value.push(newToken.value)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue