radio4000 / components

web-components to build the r4 interfaces, uses the sdk
https://components.radio4000.com/
1 stars 0 forks source link

Fix favorite feature #187

Closed oskarrough closed 3 weeks ago

oskarrough commented 3 weeks ago

Whenever I press the star to favorite (or follow) a radio, I get the following error from Supabase

code: "23505"
message:  "duplicate key value violates unique constraint \"followers_pkey\""

Where is the error? It worked at some point 🤔 I have a feeling we have some corrupt data related to the followers in Postgres, but I did not verify.

oskarrough commented 3 weeks ago

looks correct in the db at first look, maybe it's just the component that doesn't re-render probably when it changes status