Commit d050e74
fix(v2): raise NotFoundError on soft_delete of already-deleted entity
Use execute_for_one instead of execute so soft_delete returns 404
when the entity is already soft-deleted, matching v1 behavior.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5d54af3 commit d050e74
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments