Adjust front-end code to query account private fields
blushi opened this issue · comments
Is your feature request related to a problem? Please describe.
As part of regen-network/regen-server#407, we are making the email
and google
columns in the account
table private, so that only authenticated users can view these private info.
Describe the solution you'd like
We need to adjust the front-end since a regular getAccountBy...
graphql query won't return the private info.
Based on regen-network/regen-server#407, now the GET /accounts endpoint return a list of authenticatedAccounts
with id, email and google.
For Admin Use
- Not duplicate issue
- Appropriate labels and zenhub epics applied
- Appropriate contributors tagged
Hey team! Please add your planning poker estimate with Zenhub @blushi @flagrede