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

Simplified api check for uid #371

Merged
merged 1 commit into from
Jan 13, 2021
Merged

Simplified api check for uid #371

merged 1 commit into from
Jan 13, 2021

Conversation

czgu
Copy link
Collaborator

@czgu czgu commented Jan 7, 2021

There is no point to validate an API to check if uid == current_user.id as we can just use current_user.id in place of uid.

Tested each change manually

@czgu czgu requested a review from meowcodes January 7, 2021 22:18
@meowcodes meowcodes merged commit 55f9be7 into master Jan 13, 2021
@meowcodes meowcodes deleted the apivalidator branch January 13, 2021 19:44
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

Successfully merging this pull request may close these issues.

2 participants