Commit c3bf9bb
docs: roll back account_id query param on GET /api/chats/{id}/messages
The override param is redundant for this endpoint: the chat is fully
identified by the path {id}, and selectRoom already resolves room.account_id,
so admin access should be handled by an admin-aware access check in
validateChatAccess (RECOUP_ORG bypass), not by an extra query param the
caller would have to supply. Keeps the DELETE /api/artists/{id} body
override, where the param is load-bearing (it names whose ownership link
to drop).
Refs recoupable/chat#1811
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5a71523 commit c3bf9bb
1 file changed
Lines changed: 1 addition & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | 346 | | |
357 | 347 | | |
358 | 348 | | |
| |||
367 | 357 | | |
368 | 358 | | |
369 | 359 | | |
370 | | - | |
| 360 | + | |
371 | 361 | | |
372 | 362 | | |
373 | 363 | | |
| |||
0 commit comments