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

fix: incorrect status codes on the subscription page #1463

Merged
merged 2 commits into from
Nov 30, 2024

Conversation

Immortalety
Copy link
Contributor

Status codes have been changed to comply with the HTTP specification.

@ImMohammad20000
Copy link
Collaborator

ImMohammad20000 commented Nov 29, 2024

just use raise HTTPException(status_code=404, detail="not found")

@Immortalety
Copy link
Contributor Author

just use raise HTTPException(status_code=404, detail="not found")

Do you mean to replace all exceptions in this function with raise HttpException(status_code=404, detail="Not Found") or only the one on line 76?

@ImMohammad20000
Copy link
Collaborator

replace all with that it sending to many information

@ImMohammad20000 ImMohammad20000 merged commit deb5802 into Gozargah:dev Nov 30, 2024
@Immortalety Immortalety deleted the patch-1 branch November 30, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants