completed migrating data scope from user to workspace

This commit is contained in:
2026-06-22 22:10:38 +02:00
parent 62c7f53de0
commit ae2705363a
37 changed files with 918 additions and 221 deletions

View File

@@ -66,7 +66,7 @@ class _RecipientsScreenState extends State<RecipientsScreen>
Future<void> setupData() async {
prefs = await SharedPreferences.getInstance();
_queryParams['userId'] = prefs.getString("userId")!;
_queryParams['workspaceId'] = prefs.getString("workspaceId")!;
controller.getRecipients(_queryParams);
}
@@ -268,7 +268,7 @@ class _RecipientsScreenState extends State<RecipientsScreen>
_queryParams['email'] = _accountController.text;
_queryParams['phoneNumber'] = _accountController.text;
_queryParams['name'] = _accountController.text;
_queryParams['userId'] = prefs.getString("userId")!;
_queryParams['workspaceId'] = prefs.getString("workspaceId")!;
controller.getRecipients(_queryParams);
});