fix: remove duplicate market_slug in blueprint registration
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 41s

The url_prefix was being set both in register_market_bp() and
app.register_blueprint(), causing a SyntaxError from duplicate
route parameter.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-10 18:26:26 +00:00
parent 803a1d44e0
commit 33a30bef06

2
app.py
View File

@@ -57,7 +57,7 @@ def create_app() -> "Quart":
# Market blueprint scoped under /<market_slug>/ # Market blueprint scoped under /<market_slug>/
app.register_blueprint( app.register_blueprint(
register_market_bp( register_market_bp(
url_prefix="/<market_slug>", url_prefix="/",
title=config()["coop_title"], title=config()["coop_title"],
), ),
url_prefix="/<market_slug>", url_prefix="/<market_slug>",