modcomms/backend
Vadym Samoilenko 46e7de5695 Fix MissingGreenlet 500 error on GET /api/campaigns
Add selectinload(Campaign.agency) to get_with_proof_counts query so the
agency relationship is eagerly loaded. Without it, accessing campaign.agency.name
in the route triggered a lazy load in an async context, raising
sqlalchemy.exc.MissingGreenlet and returning HTTP 500.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 12:17:12 +00:00
..
alembic Add user change history audit trail for compliance 2026-02-22 08:41:16 -06:00
app Fix MissingGreenlet 500 error on GET /api/campaigns 2026-03-02 12:17:12 +00:00
.env.example Add support email functionality via Mailgun 2026-01-24 07:03:11 -06:00
alembic.ini permissions changes 2025-12-18 16:51:27 +00:00
Dockerfile Fix large file preview and download issues 2026-01-25 08:06:41 -06:00
requirements.txt Switch LlamaParse to llama-cloud SDK with agentic_plus tier 2026-02-12 15:29:23 -06:00