Skip to content

Commit 6ac64ae

Browse files
committed
SDK-1005: Update comments in example projects referencing Dashboard
The example projects each have a comment referecing the old Dashboard. Updating the reference to Yoti Hub.
1 parent 9483ddf commit 6ac64ae

File tree

2 files changed

+2
-2
lines changed
  • examples

2 files changed

+2
-2
lines changed

examples/yoti_example_django/yoti_example/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def get(self, request, *args, **kwargs):
3434
context['receipt_id'] = getattr(activity_details, 'receipt_id')
3535
context['timestamp'] = getattr(activity_details, 'timestamp')
3636

37-
# change this string according to the age condition defined in dashboard
37+
# change this string according to the age condition defined in Yoti Hub
3838
age_verified = profile.get_attribute('age_over:18')
3939
if age_verified is not None:
4040
context['age_verified'] = age_verified

examples/yoti_example_flask/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def auth():
4545
context['receipt_id'] = getattr(activity_details, 'receipt_id')
4646
context['timestamp'] = getattr(activity_details, 'timestamp')
4747

48-
# change this string according to the age condition defined in dashboard
48+
# change this string according to the age condition defined in Yoti Hub
4949
age_verified = profile.get_attribute('age_over:18')
5050
if age_verified is not None:
5151
context['age_verified'] = age_verified

0 commit comments

Comments
 (0)