diff --git a/lib/app/modules/dataSharing/controllers/dataAgreement_controller.dart b/lib/app/modules/dataSharing/controllers/dataAgreement_controller.dart index 7b3e1f8..24fe3ee 100644 --- a/lib/app/modules/dataSharing/controllers/dataAgreement_controller.dart +++ b/lib/app/modules/dataSharing/controllers/dataAgreement_controller.dart @@ -84,7 +84,7 @@ class DataAgreementContoller extends BaseController { }); Map responseMap = json.decode(response); if (responseMap['optIn'] == true) { - _registerController.getDataAgreement(sharingtoken:accessToken,sharingDataAgreementID: PrivacyDashboard().registrationDataAgreementId,isFlag:true); + _registerController.getDataAgreement(sharingtoken:accessToken,sharingDataAgreementID: PrivacyDashboard().donateYourDataDataAgreementId,isFlag:true); Get.back(); int index = _registerController.selectedPage.value + 1; _registerController.pageController.animateToPage(index,