multica/apps/web/shared
Naiyuan Qing b8fa71462a fix(subscribers): pass user_type to subscribe/unsubscribe API for correct agent handling
Root cause: backend hardcoded UserType="member" in subscribe/unsubscribe handlers,
so unsubscribing an agent actually tried to delete a member record (no-op), and
the WS event broadcast wrong user_type causing other subscribers' UI to break.

- Backend: accept optional user_type in subscribe/unsubscribe request body
- Frontend: pass userType through API client to backend
- Fixes: clicking agent checkbox no longer affects member subscriptions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 20:56:37 +08:00
..
api fix(subscribers): pass user_type to subscribe/unsubscribe API for correct agent handling 2026-03-28 20:56:37 +08:00
types feat(subscribers): interactive subscriber management with AvatarGroup + Command popover 2026-03-28 20:48:20 +08:00
logger.ts feat(logging): add structured logging across server and SDK 2026-03-26 10:57:11 +08:00