- Catch block now preserves error.status so assertAgentAuth's 401 surfaces as 401, not 500. Matches sibling /api/v1/stock-purchases pattern. - page/perPage parsing falls back to documented defaults on non-numeric or zero input rather than passing NaN to the service. - Add 2 tests covering the auth-status and pagination boundaries. Co-authored-by: Orca <help@stably.ai> |
||
|---|---|---|
| .. | ||
| invoicing | ||
| mcp | ||
| v1 | ||