Commit ad3c339
authored
fix(dashboard): section detail 404 — use flat /v1/sections/{id} (#10)
The section-detail API route forwarded to /v1/documents/{docId}/sections/
{id}, which the engine does not expose (it only has the flat
/v1/sections/{id}, scoped by the org header). Every section-detail view
returned 'Section not found'. Point it at the correct endpoint.1 parent 16d2ab9 commit ad3c339
1 file changed
Lines changed: 5 additions & 4 deletions
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments