fix: remove is_page filter from cart page hydration
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 18s

Posts used as containers aren't necessarily pages. Market and events
apps don't filter on is_page either.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-11 00:54:12 +00:00
parent d5cb2131b7
commit d0da418f12

2
app.py
View File

@@ -120,7 +120,7 @@ def create_app() -> "Quart":
return
post = (
await g.s.execute(
select(Post).where(Post.slug == slug, Post.is_page == True) # noqa: E712
select(Post).where(Post.slug == slug)
)
).scalar_one_or_none()
if not post: