-
Notifications
You must be signed in to change notification settings - Fork 292
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
Fixed abha linking issue #2456
Fixed abha linking issue #2456
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2456 +/- ##
===========================================
- Coverage 64.26% 64.19% -0.07%
===========================================
Files 240 240
Lines 13549 13572 +23
Branches 1943 1950 +7
===========================================
+ Hits 8707 8713 +6
- Misses 4484 4501 +17
Partials 358 358 ☔ View full report in Codecov by Sentry. |
07a3d1a
to
348e12c
Compare
LGTM |
@@ -28,7 +28,7 @@ def get_object(self): | |||
Q(abha_number=id) | Q(health_id=id) | Q(patient__external_id=id) | |||
).first() | |||
|
|||
if not instance or get_patient_queryset(self.request.user).contains( | |||
if not instance or not get_patient_queryset(self.request.user).contains( |
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.
Can you add a relevant test case for this change?
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.
Currently, we don't have any tests for ABDM, opened up an issue (ohcnetwork/care_abdm#12) to track it.
Proposed Changes
Associated Issue
@ohcnetwork/care-backend-maintainers @ohcnetwork/care-backend-admins