(id: string)
| 99 | }, |
| 100 | |
| 101 | async markUnread(id: string): Promise<{ ok: true; id: string }> { |
| 102 | return fetchJson(`/api/inbox/${encodeURIComponent(id)}/read`, { |
| 103 | method: 'DELETE', |
| 104 | }) |
| 105 | }, |
| 106 | } |
nothing calls this directly
no test coverage detected