website-backend
website-backend copied to clipboard
Create a check in addOrUpdate function to avoid unexpected types and fields in profileDiffs
Issue Description
In addOrUpdate function in users which updates profileDiffs, we need to check that the profileDiffs does not contain wrong types like null and undefined.
Expected Behavior
Throws an error if profileDiffs contains undefined or null type value
Current Behavior
Not Handled
Screenshots
Severity/Priority
- [ ] Critical
- [ ] High
- [ ] Medium
- [x] Low
Hi, I’d like to work on this issue. Could you please assign it to me?