From 8d55b1303b23b03acf6d487afc893ea0d15eef3c Mon Sep 17 00:00:00 2001 From: fullsizemalt <106900403+fullsizemalt@users.noreply.github.com> Date: Wed, 31 Dec 2025 18:34:39 -0800 Subject: [PATCH] debug: log show relationships --- backend/routers/shows.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backend/routers/shows.py b/backend/routers/shows.py index a010c13..ca11c5f 100644 --- a/backend/routers/shows.py +++ b/backend/routers/shows.py @@ -109,6 +109,13 @@ def read_shows( shows = session.exec(query.offset(offset).limit(limit)).all() + if shows: + print(f"DEBUG: Loaded {len(shows)} shows") + print(f"DEBUG: First show ID: {shows[0].id}") + print(f"DEBUG: First show Venue: {shows[0].venue}") + print(f"DEBUG: First show Vertical: {shows[0].vertical}") + + return PaginatedResponse( data=shows, meta=PaginationMeta(total=total, limit=limit, offset=offset)