-
Notifications
You must be signed in to change notification settings - Fork 6
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
Bug: UserID 0 Has All Videos #23
Comments
Just validate the endpoint to reject non-positive id values. That will fix the issue at hand but the bigger question is why do you even have IDs started with 0 in the first place? Pretty sure all incremental IDs start with 1 in postgresql and you have to spend extra effort for a different behaviour. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a fundamental design issue from how I've handled user queries. If the userID is 0, it won't be registered as a user query, and won't query for that user's videos. Not sure what I'll need to do here.
The text was updated successfully, but these errors were encountered: