Commit efd9c37
feat(store): add updateUser helper
Reuses getUserById and mutates the record in place, returning undefined
when the id does not exist so callers decide how to report "not found".
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 19e97af commit efd9c37
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments