Fix response code for session deletion#1346
Merged
Conversation
✅ Deploy Preview for pihole-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Member
|
I think the second commit can be omitted now that the change was implemented in a separate PR |
Member
Author
|
Oh, yeah... the second commit was just a test, but I forgot to remove it. |
a18e3cf to
b8467b6
Compare
The correct is 204 - No content. The previous code (410) is not even on the specification file: https://github.com/pi-hole/FTL/blob/8d1add8d99d8a36ccc6fb97628a33a219cf8abbd/src/api/docs/content/specs/auth.yaml#L140-L156 Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
b8467b6 to
3ca75e7
Compare
Member
Author
|
Done. |
yubiuser
approved these changes
Feb 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR aim to accomplish?
The correct response code is: 204 - No content.
The previous code (410) was removed by pi-hole/FTL#1836.
By submitting this pull request, I confirm the following:
git rebase)