Commit 2a23766
api.main: fix delete user group endpoint
Fix `DELETE /group/{group-id}` endpoint's
response model by using `pagination_ctx`.
Also return `HTTP 204` status code for successful
delete operation as per the convention.
Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>1 parent b14cf1f commit 2a23766
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
421 | 423 | | |
422 | 424 | | |
423 | 425 | | |
| |||
0 commit comments