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

Creating API for getting blocked users. #83

Closed
supiket opened this issue Jun 7, 2021 · 1 comment
Closed

Creating API for getting blocked users. #83

supiket opened this issue Jun 7, 2021 · 1 comment

Comments

@supiket
Copy link
Contributor

supiket commented Jun 7, 2021

This API should return a list of blocked user IDs by the user having the given user_id.
This should be done by processing a query on the Blocking table in the database.
Since the Blocking table has columns of blockingID and blockedID, the query should be a simple so-called SELECT/FROM/WHERE query that matches each row having the given blockingID.

@supiket supiket added this to the Milestone #2 milestone Jun 7, 2021
@supiket supiket self-assigned this Jun 7, 2021
omerarslnn added a commit that referenced this issue Jun 8, 2021
Refs #83 - GET blocked user API implemented as described in the linke…
supiket added a commit that referenced this issue Jun 10, 2021
Refs #83 - Corrected the jsonify expression for returning database ob…
@supiket
Copy link
Contributor Author

supiket commented Jun 10, 2021

Closing this issue as pull request has been merged.

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

No branches or pull requests

1 participant