jamesgeer / conf-twitter-bot

A Twitter Bot to post about academic papers
MIT License
4 stars 0 forks source link

Constraint error when adding account that already exists in the system #37

Closed jamesgeer closed 1 year ago

jamesgeer commented 2 years ago

When a user attempts to add a Twitter user (account) that has already been added by another user (so the same account) the system throws this error:

image

The problem is the check should prevent a user from adding duplicates of the same Twitter account, but different users should be able to add the same Twitter account.

Solution: