-
Notifications
You must be signed in to change notification settings - Fork 112
fix: review's api #1255
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
fix: review's api #1255
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1255 +/- ##
==========================================
+ Coverage 74.59% 74.60% +0.01%
==========================================
Files 84 84
Lines 3184 3186 +2
==========================================
+ Hits 2375 2377 +2
Misses 809 809 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| reviewer.groups.add(group) | ||
|
|
||
| api_client.force_authenticate(user=user) | ||
| api_client.force_authenticate(user=auth_user) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#1247 (comment)
why does it need force_authenticate()?
| api_client.force_authenticate(user=auth_user) |
| if not role or role != "Reviewer": | ||
| return JsonResponse({'detail': 'role is not given or invalid.'}, status=400) | ||
| qs = User.objects.filter(is_active=True,verified=True, groups__name= "Reviewer") | ||
| qs = User.objects.get_valid_users_by_role(role).order_by('speaker_name') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conflict with #1256?
|
@mattwang44 想請matt 大大幫我看一下>< |
|
|
||
| - name: Set up Python dependencies | ||
| run: | | ||
| poetry env use python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this?
Types of changes
Thanks for sending a pull request! Please fill in the following content to let us know better about this change.
Please put an
xin the box that appliesDescription