Point the doctor-report references at the route that exists

Both named /api/doctor-report, a family removed some releases ago. The
contributor doc sent a reader to a POST endpoint that answers nothing,
and the renderer's own header described itself as serving an endpoint
that is gone.

Found by the sweep behind the retired-route registry, which asks what
this repository still references rather than what a client calls. Two
hits, both prose, neither a call.
This commit is contained in:
Marc-André Bombeck committed 2026-08-23 16:15:11 +02:00
1 parent 46191337fc
commit 01b3221c33
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -2,7 +2,10 @@
* Isomorphic PDF renderer for the doctor report.
*
* Runs identically in the browser (settings page download) and in Node
* (server-rendered `/api/doctor-report/pdf` endpoint). All locale-sensitive
* (the clinician share link's `/c/[token]/report.pdf` route). The comment here
* named `/api/doctor-report/pdf` until 2026-08-23; that route was removed and
* the sweep behind the retired-route registry found the reference still
* standing. All locale-sensitive
* strings and number/date formatting are driven by the injected
* `{ t, locale }` so DE and EN output match the user's UI language.
*