Redesign and reimplementing account page

This commit is contained in:
2024-10-05 21:00:39 +02:00
parent c54e6f3743
commit c050560fba
11 changed files with 209 additions and 168 deletions

View File

@@ -6,6 +6,7 @@ import { Payment } from "../models/user/payment.model";
import { Address } from "../models/user/address.model";
import { Band } from "../models/acts/band.model";
import { Location } from "../models/locations/location.model";
import { Event } from "../models/acts/event.model";
export const order = Router()
@@ -19,7 +20,13 @@ order.get("/:id", (req: Request, res: Response) => {
include: [
{
model: Concert,
include: [ Band, Location ],
include: [
{
model: Event,
include: [ Band ]
},
Location
],
attributes: {
exclude: [
"categoryId",