I'm trying to delete an object in the route: /images. It deletes successfully, but it also deletes the last object in other route: (/users).
DELETE
http://localhost:3000/images/4
The object that is wrongly deleted in /users:
{
"id": 1119,
"name": "Carregando...",
"cpf": "",
"email": "",
"authorization": 0,
"unityId": 0,
"unityName": ""
}
DB :
db_delete_image_bug.txt
I'm trying to delete an object in the route: /images. It deletes successfully, but it also deletes the last object in other route: (/users).
DELETE
http://localhost:3000/images/4
The object that is wrongly deleted in /users:
{
"id": 1119,
"name": "Carregando...",
"cpf": "",
"email": "",
"authorization": 0,
"unityId": 0,
"unityName": ""
}
DB :
db_delete_image_bug.txt