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

@@ -40,10 +40,10 @@ export const useOrderStore = defineStore("orderStore", {
*
* @param user User to request orders from
*/
async getOrdersOfAccount(user: AccountModel) {
async getOrdersOfAccount(user: AccountModel, token: string) {
this.fetchInProgress = true
fetchUserOrders(user.id)
fetchUserOrders(user.id, token)
.then(res => {
this.orders = res.data
this.fetchInProgress = false