cmciosu / hemp-db

https://hempdb.vercel.app/
MIT License
1 stars 1 forks source link

Duplicate Pending Changes cause 500 #119

Closed paullpp closed 3 months ago

paullpp commented 3 months ago

When a company has two changes pending, rejecting one of the changes throws a 500 error.

Replicate:

  1. Delete company with id = 1
  2. Verify that change is visible in changes tab
  3. Delete company with id = 1 again
  4. Verify that change is visible in changes tab
  5. Approve / reject either of the changes