EddieTheCubeHead / Stagnum

A website utilizing Spotify web API to transfer playback from a queue into a shareable pool.
Other
0 stars 0 forks source link

[Bug]: Deleting a promoted pool member corrupts pool user data #412

Open EddieTheCubeHead opened 1 week ago

EddieTheCubeHead commented 1 week ago

Contact details

No response

Short description

Deleting a pool member that a pool joined user has promoted permanently leaves that pool member as that user's promoted track.

Steps to reproduce

  1. Create a pool
  2. Promote a track
  3. Delete the track
  4. Attempt to skip

Expected behaviour

Should skip to a random pool member

Actual behaviour

Stagnum throws an error "User had promoted a track that does not exist in pool"

Additional information

No response