You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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: