Commit 93bc180
fix(promo-codes): address CodeRabbit findings on saga reorder
- Critical: ReserveOrderTask::run now returns the accumulated formerState
instead of a fresh ['order' => ...] array. After the reorder, ApplyPromoCodeTask
runs downstream and reads promo_codes_usage / reservations / ticket_types_ids
that earlier tasks populated; dropping state broke promo redemption and
per-account enforcement for every promo-code checkout.
- Minor: discover() OpenAPI security annotation now declares both
ReadSummitData and ReadAllSummitData to match the seeded scopes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d824974 commit 93bc180
2 files changed
Lines changed: 5 additions & 2 deletions
File tree
- app
- Http/Controllers/Apis/Protected/Summit
- Services/Model/Imp
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1588 | 1588 | | |
1589 | 1589 | | |
1590 | 1590 | | |
1591 | | - | |
| 1591 | + | |
1592 | 1592 | | |
1593 | 1593 | | |
1594 | 1594 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
667 | | - | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
668 | 671 | | |
669 | 672 | | |
670 | 673 | | |
| |||
0 commit comments