fix: create token

This commit is contained in:
kolaente 2022-04-02 17:34:48 +02:00
parent b1159f331f
commit 898b22b377
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}