Skip to content

Commit f19d8a4

Browse files
committed
addressing comments
1 parent a31aeba commit f19d8a4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

apps/authorization/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def post(request, *args, **kwargs):
7373
version = get_api_version_number_from_url(path_info)
7474
patient_id = kwargs.pop('patient_id', None)
7575

76+
# V1 is treated as the same as V2 since their pathways are very similar and use the same fhir_id_v2 despite the name
7677
match version:
7778
case Versions.V1:
7879
user = Crosswalk.objects.get(fhir_id_v2=patient_id).user

apps/integration_tests/selenium_spanish_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from .selenium_generic import SeleniumGenericTests
22
from .selenium_cases import SPANISH_TESTS
3-
from apps.constants import Versions
3+
from apps.versions import Versions
44

55
USE_NEW_PERM_SCREEN = "true"
66

apps/integration_tests/selenium_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
from .selenium_generic import SeleniumGenericTests
33
from .selenium_cases import TESTS
4-
from apps.constants import Versions
4+
from apps.versions import Versions
55

66

77
USE_NEW_PERM_SCREEN = os.environ['USE_NEW_PERM_SCREEN']

0 commit comments

Comments
 (0)