diff --git a/market/app.py b/market/app.py index f09f396..73675f1 100644 --- a/market/app.py +++ b/market/app.py @@ -186,7 +186,7 @@ def create_app() -> "Quart": select(MarketPlace).where( MarketPlace.slug == market_slug, MarketPlace.container_type == "page", - MarketPlace.container_id == post.id, + MarketPlace.container_id == post["id"], MarketPlace.deleted_at.is_(None), ) )