keep
keep copied to clipboard
fix: validate incident_id is UUID
Closes #2057
📑 Description
incident_id is of type UUID. When it is passed a string it causes an Internal Server Error. To avoid this have added a validation of the input param. Now the error returned will be 422.
✅ Checks
- [x] My pull request adheres to the code style of this project
- [ ] My code requires changes to the documentation
- [ ] I have updated the documentation as required
- [x] All the tests have passed
ℹ Additional Information
@amritansh22 is attempting to deploy a commit to the KeepHQ Team on Vercel.
A member of the Team first needs to authorize it.
Hey @shahargl Can you please review this PR ?
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| keep | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 7, 2024 8:21am |
Thanks for the review @VladimirFilonov Have addressed the review comments now 🙌