Maybe store `acct` with the User
Originally the User struct looked like this:
User:
acct
stripe_cus_id
And it served only to link these two data points. I became convinced it would be better to make the ap_id
the unique identifier, so I switched out acct
for ap_id
.
Now I'm starting to regret it, because getting donor info about a user looks like this:
- GET
/api/patron/v1/accounts/https%3A%2F%2Fhyrule.world%2Fusers%2Flink
When ideally it could look like this:
- GET
/api/patron/v1/accounts/link@hyrule.world
But I still have mixed feelings. I think I want to store both in the database, but we'll have to be sure both are present.