Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement account/pause and account/unpause endpoints. #10

Open
WilliamDormer opened this issue Aug 3, 2022 · 0 comments
Open

implement account/pause and account/unpause endpoints. #10

WilliamDormer opened this issue Aug 3, 2022 · 0 comments

Comments

@WilliamDormer
Copy link
Contributor

This should simply deactivate the account by setting the state variable accordingly 2 (profile created but account turned off temporarily by user) or to unpause, back to 1 (profile created, account active). Should also modify the other endpoints to make sure that they are checking the state of the account before executing their functions. For example, you shouldn't be able to hit the swipe endpoint if your account is deleted or turned off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant