diff --git a/packages/shared-ui/src/navigation/phosphor-icon-map.ts b/packages/shared-ui/src/navigation/phosphor-icon-map.ts index b5d7613ff..0ace0f0c8 100644 --- a/packages/shared-ui/src/navigation/phosphor-icon-map.ts +++ b/packages/shared-ui/src/navigation/phosphor-icon-map.ts @@ -25,6 +25,7 @@ import { Heart, House, Key, + Lightbulb, List, MagnifyingGlass, Microphone, @@ -109,6 +110,7 @@ export const phosphorIcons: Record = { scale: Scales, robot: Robot, key: Key, + lightbulb: Lightbulb, shield: Shield, gift: Gift, 'music-notes': MusicNotes, diff --git a/services/mana-analytics/src/routes/feedback.ts b/services/mana-analytics/src/routes/feedback.ts index 1767bc832..bb17623ea 100644 --- a/services/mana-analytics/src/routes/feedback.ts +++ b/services/mana-analytics/src/routes/feedback.ts @@ -22,7 +22,10 @@ export function createFeedbackRoutes(feedbackService: FeedbackService) { r.post('/', async (c) => { const user = c.get('user'); const body = await c.req.json(); - const item = await feedbackService.createFeedback(user.userId, body); + // Body never carries appId — the client sends it as X-App-Id. + // Fall back to 'mana' so legacy callers don't 500 on a NOT NULL. + const appId = body.appId || c.req.header('x-app-id') || 'mana'; + const item = await feedbackService.createFeedback(user.userId, { ...body, appId }); return c.json(item, 201); });