Posts by Ranyelton Santos • 1 point
1 post
-
0
votes2
answers88
viewsA: Difficulty Deleting Cases in Javascript
Hello, just replace this section: if (incident.ong_id != ong.id) { return response.status(401).json({ error: 'Operation not permitted.' }); } For this: if(incidents.ong_id != ong_id) { return…