Skip to content

fix: Remove invalid display_name column reference in member insights query#816

Merged
bokelley merged 1 commit into
mainfrom
bokelley/fix-member-insights
Jan 20, 2026
Merged

fix: Remove invalid display_name column reference in member insights query#816
bokelley merged 1 commit into
mainfrom
bokelley/fix-member-insights

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Fix 500 error on /api/admin/organizations/:orgId/member-insights endpoint
  • The SQL query was referencing mit.display_name, a column that doesn't exist in the member_insight_types table
  • The table only has name (as defined in migration 072_member_insights.sql)

Test plan

  • Tests pass (241 tests)
  • TypeScript compiles
  • Build succeeds

🤖 Generated with Claude Code

…query

The /api/admin/organizations/:orgId/member-insights endpoint was returning
a 500 error because the SQL query referenced mit.display_name, a column
that doesn't exist in the member_insight_types table. The table only has
a name column (as defined in migration 072_member_insights.sql).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant