Stop sending user_id/owner_id to channels endpoints (backend fix)
Matches the backend fix removing the user_id/owner_id impersonation hole - createChannel/followChannel/unfollowChannel no longer take an id param since the backend derives it from the auth token now. UI display (hiding the follow button on your own channel) still uses getCurrentUserId() locally, just no longer sends it to the server. Also adds the first test coverage for the Channels page - there was none before this. Co-Authored-By:Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
Showing
src/pages/Channels.test.tsx
0 → 100644
Please
register
or
sign in
to comment