Repository navigation
Commit b51ae48
committed
🛡️ Guard against missing assignment records in department edit and add
- 💬 Add `del_st` field to bot message attribute updates to persist delete status changes
- 🚫 Validate department assignment object before removal to prevent fatal errors when record is missing
- 📝 Return clear error response if assignment record not founddel_st update path for bot message actions 🔧1 parent 76672a1 commit b51ae48
2 files changed
Lines changed: 5 additions & 1 deletion
File tree
- lhc_web
- lib/core/lhgenericbot/actionTypes
- modules/lhuser
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
599 | | - | |
| 599 | + | |
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
199 | 203 | | |
200 | 204 | | |
201 | 205 | | |
| |||
0 commit comments