update route to /mih-access

This commit is contained in:
2025-03-11 10:59:04 +02:00
parent b7a0d691f5
commit f9dd5e3e86
8 changed files with 19 additions and 17 deletions

View File

@@ -258,7 +258,7 @@ class MIHApiCalls {
/// AppUser signedInUser,
/// BuildContext context,
///
/// Returns void (on success 200 navigate to /access-review ).
/// Returns void (on success 200 navigate to /mih-access ).
static Future<void> updatePatientAccessAPICall(
String business_id,
String business_name,
@@ -290,7 +290,7 @@ class MIHApiCalls {
Navigator.of(context).pop();
Navigator.of(context).pop();
Navigator.of(context).pushNamed(
'/access-review',
'/mih-access',
arguments: signedInUser,
);
String message = "";
@@ -314,7 +314,7 @@ class MIHApiCalls {
/// String app_id,
/// BuildContext context,
///
/// Returns void (on success 200 navigate to /access-review ).
/// Returns void (on success 200 navigate to /mih-access ).
static Future<void> reapplyPatientAccessAPICall(
String business_id,
String app_id,

View File

@@ -36,7 +36,7 @@ class MihNotificationApis {
"notification_type": "Forever Access Request",
"notification_message":
"A new Forever Access Request has been sent by $business_name in order to access your Patient Profile. Please review request.",
"action_path": "/access-review",
"action_path": "/mih-access",
}),
);
if (response.statusCode == 201) {
@@ -83,7 +83,7 @@ class MihNotificationApis {
"notification_type": "Re-applying for Access",
"notification_message":
"${args.business!.Name} is re-applying for access to your Patient Profile. Please review request.",
"action_path": "/access-review",
"action_path": "/mih-access",
}),
);
if (response.statusCode == 201) {