From 643fce5328ae3898b084c8a82ac264df7f2ac4ef Mon Sep 17 00:00:00 2001 From: Lijo George Date: Wed, 15 Nov 2023 19:07:23 +0530 Subject: [PATCH] #205 Atrributes seems to be wrong in the donate your data change data agreement Id corresponding to donate your data. --- .../dataSharing/controllers/dataAgreement_controller.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,