Swagger API documentation

This commit is contained in:
2024-12-09 19:06:50 +01:00
parent 9df62d037d
commit 4215bbf9c2
18 changed files with 1383 additions and 121 deletions

View File

@@ -238,7 +238,7 @@ export const useAccountStore = defineStore("accountStore", {
async refreshOrders() {
this.fetchInProgress = true
await fetchUserOrders(this.userAccount.id)
await fetchUserOrders(this.userAccount.id, this.userAccountToken)
.then(result => {
this.orders = result.data
this.fetchInProgress = false
@@ -344,7 +344,7 @@ export const useAccountStore = defineStore("accountStore", {
async deleteAccount(account: AccountModel) {
this.fetchInProgress = true
deleteAccount(account)
deleteAccount(account, this.userAccountToken)
.then(response => {
this.fetchInProgress = false
})