Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api.main: fix delete user group endpoint #568

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

JenySadadia
Copy link
Collaborator

Fixes #427

Fix DELETE /group/{group-id} endpoint's response model by using pagination_ctx.

@JenySadadia
Copy link
Collaborator Author

Addressed pylint error in #569.

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 <[email protected]>
@nuclearcat
Copy link
Member

seems working at staging

@nuclearcat nuclearcat added this pull request to the merge queue Nov 13, 2024
Merged via the queue into kernelci:main with commit 2a23766 Nov 13, 2024
6 checks passed
@JenySadadia JenySadadia deleted the fix-delete-user-group branch November 13, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix response model for DELETE /group endpoint
2 participants