fix(discovery): return full body for retrospective run start endpoint #693
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/retroactive-empty-body"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
POST /api/discovery/domains/{domainKey}/retrospective-runs was returning 201 with
empty body. Frontend apiClient.request parsed empty string as
ClassInstanceAutoAcceptRetrospectiveRunView → downstream state corruption.
Fix: return run as response body via .body(run) instead of .build().
Commit:
87abdefd3cPOST /api/discovery/domains/{domainKey}/retrospective-runs was returning 201 with empty body. Frontend apiClient.request parsed empty string as ClassInstanceAutoAcceptRetrospectiveRunView → downstream state corruption. Fix: return run as response body via .body(run) instead of .build().