You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual behavior
{
"errors": "Unable to change course: SequelizeUniqueConstraintError: Validation error"
}
Expected behavior
{
"errors": "title should be unique"
}
Screenshots
The text was updated successfully, but these errors were encountered:
NasDmit
changed the title
500 error PATCH incorrect response message
500 error PATCH incorrect response message when title has already exist
Jun 25, 2022
Actual behavior
{
"errors": "Unable to change course: SequelizeUniqueConstraintError: Validation error"
}
Expected behavior
{
"errors": "title should be unique"
}
Screenshots
![image](https://user-images.githubusercontent.com/106266193/175786646-4f205588-0006-4473-9442-51a39d0069a0.png)
The text was updated successfully, but these errors were encountered: